Skip to content

Commit 31368d0

Browse files
committed
Merge remote-tracking branch 'origin/pr/605'
2 parents 76c8a58 + 753ca86 commit 31368d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/class.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var Class;
1212
Class = function(){};
1313

1414
// Create a new Class that inherits from this class
15-
Class.extend = function(prop) {
15+
Class.extend = function extend(prop) {
1616
var _super = this.prototype;
1717

1818
// Instantiate a base class (but only create the instance,
@@ -59,7 +59,7 @@ var Class;
5959
Class.prototype.constructor = Class;
6060

6161
// And make this class extendable
62-
Class.extend = arguments.callee;
62+
Class.extend = extend;
6363

6464
return Class;
6565
};

0 commit comments

Comments
 (0)