Skip to content

Commit fec9ab1

Browse files
committed
Fix for CreateJS#829
1 parent 07360f4 commit fec9ab1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/createjs/utils/extend.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ this.createjs = this.createjs||{};
4848
*
4949
* var foo = new MySubClass();
5050
* console.log(foo instanceof MySuperClass); // true
51-
* console.log(foo.prototype.constructor === MySubClass); // true
51+
* console.log(Object.getPrototypeOf(foo).constructor === MySubClass); // true
5252
*
5353
* @method extend
5454
* @param {Function} subclass The subclass.

0 commit comments

Comments
 (0)