Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update files to not throw an error in "use strict" mode. #2379 #2380

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/Browser/Browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,4 @@ this.$exec = Browser.exec;

//</1.2compat>

})();
}).call(this.window || global);
2 changes: 1 addition & 1 deletion Source/Class/Class.Extras.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ this.Options = new Class({

});

})();
}).call(this.window || global);
2 changes: 1 addition & 1 deletion Source/Class/Class.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ Class.Mutators = {
}
};

})();
}).call(this.window || global);
2 changes: 1 addition & 1 deletion Source/Core/Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,4 +518,4 @@ this.$unlink = function(object){

//</1.2compat>

})();
}).call(this.window || global);
4 changes: 2 additions & 2 deletions Source/Element/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ Element.implement('hasChild', function(element){
return match.call(this, node, selector);
};

})(Slick.search, Slick.find, Slick.match);
}).call(this, Slick.search, Slick.find, Slick.match);

//</1.2compat>

Expand Down Expand Up @@ -1058,4 +1058,4 @@ if (document.createElement('div').getAttributeNode('id')) Element.Properties.id
};
/*</IE>*/

})();
}).call(this.window || global);
2 changes: 1 addition & 1 deletion Source/Fx/Fx.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@ var pullInstance = function(fps){
}
};

})();
}).call(this.window || global);
2 changes: 1 addition & 1 deletion Source/Request/Request.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,4 @@ Element.implement({

});

})();
}).call(this.window || global);
2 changes: 1 addition & 1 deletion Source/Types/DOMEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ DOMEvent.defineKeys({
'46': 'delete', '13': 'enter'
});

})();
}).call(this.window || global);

/*<1.3compat>*/
var Event = DOMEvent;
Expand Down
2 changes: 1 addition & 1 deletion Source/Utilities/Swiff.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ Swiff.remote = function(obj, fn){
return eval(rs);
};

})();
}).call(this.window || global);