Skip to content

Commit 0571ab3

Browse files
committed
Update files to not throw an error in "use strict" mode. mootools#2379
1 parent 498ffc6 commit 0571ab3

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

Source/Browser/Browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,4 +250,4 @@ this.$exec = Browser.exec;
250250

251251
//</1.2compat>
252252

253-
})();
253+
}).call(this);

Source/Class/Class.Extras.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ this.Options = new Class({
118118

119119
});
120120

121-
})();
121+
}).call(this);

Source/Class/Class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@ Class.Mutators = {
112112
}
113113
};
114114

115-
})();
115+
}).call(this);

Source/Core/Core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,4 +518,4 @@ this.$unlink = function(object){
518518

519519
//</1.2compat>
520520

521-
})();
521+
}).call(this);

Source/Element/Element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ Element.implement('hasChild', function(element){
365365
return match.call(this, node, selector);
366366
};
367367

368-
})(Slick.search, Slick.find, Slick.match);
368+
}).call(this, Slick.search, Slick.find, Slick.match);
369369

370370
//</1.2compat>
371371

Source/Fx/Fx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,4 @@ var pullInstance = function(fps){
176176
}
177177
};
178178

179-
})();
179+
}).call(this);

Source/Request/Request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,4 +275,4 @@ Element.implement({
275275

276276
});
277277

278-
})();
278+
}).call(this);

Source/Types/DOMEvent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ DOMEvent.defineKeys({
111111
'46': 'delete', '13': 'enter'
112112
});
113113

114-
})();
114+
}).call(this);
115115

116116
/*<1.3compat>*/
117117
var Event = DOMEvent;

Source/Types/Object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Object.extend({
116116

117117
});
118118

119-
})();
119+
}).call(this);
120120

121121
//<1.2compat>
122122

Source/Utilities/Swiff.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ Swiff.remote = function(obj, fn){
110110
return eval(rs);
111111
};
112112

113-
})();
113+
}).call(this);

0 commit comments

Comments
 (0)