ded / klass

a utility for creating expressive classes in JavaScript
752 stars 78 forks source link

Klass doesn't work in strict mode. #29

Open nicbell opened 8 years ago

nicbell commented 8 years ago

The 5th edition of ECMAScript (ES5) forbids use of arguments.callee() in strict mode.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments/callee

ded commented 8 years ago

this is an artifact of an older implementation. I'm fairly certain we can change that line to fn.extend = extend now.