Browse Source

Variable name fix

master
Sven Slootweg 9 years ago
parent
commit
c9d9d410b0
  1. 2
      core.js

2
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;

Loading…
Cancel
Save