updroid / jquery-jstore

Automatically exported from code.google.com/p/jquery-jstore
1 stars 0 forks source link

Options shouldn't use non-standard attributes #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There should be a way to set options through the code rather than with
non-standard attributes. It would be cleaner and would follow the
standards, as well as not confusing things if some joined multiple plugins
into the one file etc.

Original issue reported on code.google.com by curiousdannii on 12 Apr 2009 at 3:21

GoogleCodeExporter commented 9 years ago
Ahh, wait I see now that it's really quite easy!

Perhaps the docs should recommend using defaults rather than the attributes 
though...

Original comment by curiousdannii on 12 Apr 2009 at 8:09

GoogleCodeExporter commented 9 years ago
Yea, it was a bad coding practice I learned years ago that's followed me 
through.
I've been slowly updating my plugins to remove the use of custom, non-standard
attributes and am moving towards a new solution for it. When I get a chance, 
I'll
update the docs to discourage using the custom attribute solution for setting
defaults in the code.

Original comment by gars...@gmail.com on 20 Apr 2009 at 7:34

GoogleCodeExporter commented 9 years ago
With the next release, support for non-standard attributes will be retired.

Original comment by gars...@gmail.com on 20 May 2009 at 7:55