From 5a9b009eb1b8d3dfb3517f92116763c52663fbf3 Mon Sep 17 00:00:00 2001 From: Steve Heffernan Date: Mon, 17 May 2010 19:51:45 -0700 Subject: [PATCH] Removed the class file --- class.js | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 class.js diff --git a/class.js b/class.js deleted file mode 100644 index 7eab489ca..000000000 --- a/class.js +++ /dev/null @@ -1,33 +0,0 @@ -// jresig's Class implementation -(function(){ - var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/; - this.Class = function(){}; - Class.extend = function(prop) { - var _super = this.prototype; - initializing = true; - var prototype = new this(); - initializing = false; - for (var name in prop) { - prototype[name] = typeof prop[name] == "function" && - typeof _super[name] == "function" && fnTest.test(prop[name]) ? - (function(name, fn){ - return function() { - var tmp = this._super; - this._super = _super[name]; - var ret = fn.apply(this, arguments); - this._super = tmp; - return ret; - }; - })(name, prop[name]) : - prop[name]; - } - function Class() { - if ( !initializing && this.init ) - this.init.apply(this, arguments); - } - Class.prototype = prototype; - Class.constructor = Class; - Class.extend = arguments.callee; - return Class; - }; -})(); \ No newline at end of file