The _inherit function in raptor.js was copying properties from base class constructor to derived class constructor and it was clobbering some of the properties (such as "static" functions) that were in the derived class.
I made this change:
- extend(clazz,inherit);
+ for (var key in inherit) {
+ // don't use extend because we should only copy properties
+ // that don't exist on target clazz
+ if (inherit.hasOwnProperty(key) && (clazz[key] === undefined)) {
+ clazz[key] = inherit[key];
+ }
+ }
This is just an FYI. I don't think it will break anything