axemclion / jquery-indexeddb

An IndexedDB Plugin for Jquery.
Other
195 stars 71 forks source link

Move use strict into the anonymous function? #44

Open lovett opened 11 years ago

lovett commented 11 years ago

The current placement of the use strict statement makes it slightly awkward to concatenate jquery.indexeddb.js with other files. If it were inside the anonymous function, it would only affect that function. Right now it affects the current file--which in certain scenarios could include other libraries that aren't necessarily robust enough for use strict.

axemclion commented 11 years ago

@lovett Can you send a pull request with this change to the incoming-pr branch ?