Skip to content

v1.1

Latest
Compare
Choose a tag to compare
@tshedor tshedor released this 16 Jan 01:00
· 43 commits to master since this release

Features:

  • Two arguments added to initialization - defaults which accepts a hash of key/values to insert into the hash if it's empty and call_on_init which fires the callback on load if there are no defaults provided. (#2)
  • Syntax change - Favor function <name> over var <name> = function when functions will not be redefined (#2)

Bugfixes:

  • Wrap code in a closure instead of adding a global function Fryr(#2)
  • Fixed a broken Jasmine test (#2)
  • Better, more consistent inline documentation
  • Fixes .merge function (d1b96c5) and only add key/values if they don't already exist (e7fa591)