edi9999 / jsqrcode

[deprecated] Lazarsoft's jsqrcode as a node module, object oriented, and with tests
Apache License 2.0
280 stars 63 forks source link

__defineGetter__ depricated #7

Closed limpbrains closed 8 years ago

limpbrains commented 9 years ago

IE 10 and IE9 fails with error:

Object doesn't support property or method '__defineGetter__' 

Looks like defineGetter is depricated and should be replaced with defineProperty

Also there is a workaround with polyfill: http://blogs.msdn.com/b/ie/archive/2010/09/07/transitioning-existing-code-to-the-es5-getter-setter-apis.aspx

edi9999 commented 8 years ago

Solved by b596a47d17e9cfb60b7a18cefaeb0fcb69266230