Skip to content
Browse files

Fix issue with IE6-9 when extending from non CLassify classes

  • Loading branch information...
1 parent 4cd3b46 commit a9e82b0fa42f961b0e0b494f6a7c252f6a2637a6 @weikinhuang committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/create.js
View
2 src/create.js
@@ -234,7 +234,7 @@ var create = function() {
klass.superclass = parent;
klass.subclass = [];
klass.implement = (parent.implement || []).concat(implement);
- klass.observables = extend({}, parent.observables);
+ klass.observables = extend({}, parent.observables || {});
// Give this class the ability to create sub classes
klass.extend = klass.prototype.extend = function(p) {
return create(klass, p);

0 comments on commit a9e82b0

Please sign in to comment.
Something went wrong with that request. Please try again.