Skip to content

v0.1.7

Choose a tag to compare

@jpederson jpederson released this 02 Aug 16:44
· 55 commits to gh-pages since this release

Fixes:

  • Missing license in package.json.
  • Overriding default options with the options temporarily passed to squirrel. To override the default options, use $.fn.squirrel.options.[OPTION] instead.

Improvements:

  • Added using an id attribute if a name attribute doesn't exist. A name attribute is the recommended approach though for forms.
  • Using .on() instead of event aliases for the likes of click and submit, as well as using the namespace "squirrel.js". This allows us specific targeting of the events created by Squirrel.js, instead of just using a generic "click" event.
  • Changed updating of a form based on the DOM order, therefore offering support for dynamic forms.
  • Added the 'stop' action, which destroys the events assigned to the form by Squirrel.js.
  • Various readability tweaks and efficiency improvements.
  • Updated the example showcasing the following additions.