From c9d9d410b0b9f072e2a75f6c9d92f7e1f118c0fa Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sat, 4 Aug 2012 00:34:25 +0200 Subject: [PATCH] Variable name fix --- core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.js b/core.js index b94a39a..5f137e9 100644 --- a/core.js +++ b/core.js @@ -1,7 +1,7 @@ /* Thanks to http://phrogz.net/js/classes/OOPinJS2.html */ Function.prototype.inheritsFrom = function(parentObject) { - if(parentClassOrObject.constructor == Function) + if(parentObject.constructor == Function) { /* Normal Inheritance */ this.prototype = new parentObject;