brianleroux/lawnchair — pull request #131 by tdd (2012-10-18 15:36:47+00:00)
Title: Make init callback optional

Hey Brian,

As we discussed during JSConf.eu, I think callbacks should actually be optional, especially when dealing with storage adapters we know are synchronous (e.g. localStorage). I see a lot of people just passing $.noop or Prototype.emptyFunction or function(){} as final arg, just because they have to.

So here's my pull request, with relevant passing tests :-)

Cheers!