1 parent 4470579 commit a791469Copy full SHA for a791469
1 file changed
02.jQuery/01.Slider/script.js
@@ -72,16 +72,4 @@ if (!Object.create) {
72
f.prototype = obj;
73
return new f();
74
}
75
-}
76
-
77
-if (!Object.prototype.extend) {
78
- Object.prototype.extend = function(properties) {
79
- function f() {};
80
- f.prototype = Object.create(this);
81
- for(var prop in properties) {
82
- f.prototype[prop] = properties[prop];
83
- }
84
- f.prototype._super = this;
85
- return new f();
86
87
0 commit comments