If I were you, I would resist the temptation to do too much 'correctness'
checking if it is a plugin that you are releasing to the general public.
The reason I say that is sometimes it is desirable to add extra things in to
your configuration that the plugin doesn't expect, so that it gets stored i
Passing parameters using an object has become a popular method among
jQuery add-ins. Few plugins actually validate the passed parameter
object to ensure that elements are spelled correctly.
Most plugins use the jQuery.extend method which would copy the passed
parameter { resiz: 1 } just as easily
2 matches
Mail list logo