jzaefferer / undo

Undo.js
http://jzaefferer.github.com/undo/demos/
311 stars 51 forks source link

bug: context name property overwrite #1

Closed nagykr closed 11 years ago

nagykr commented 11 years ago

It should be good thing to prevent overwrite the name of the actual context where we init the undo.js. Me was a problem, that its extend function overwrites the main window object name property. There is a missing var keyword before name variable in the for loop.

jzaefferer commented 11 years ago

Thanks, fixed.