Permalink
Browse files

Revert "Calling this. Everywhere."

This reverts commit b43547b.

It seems that .call(this) doesn't really solve our issues with JScript and it creates issues in environments such as NodeJS. Let's reiterate on a proper fix for ES5 strict at a later time.
  • Loading branch information...
1 parent 02041b1 commit 8521f484fff56bafe48bbaed5ff3dced760d3822 @cpojer cpojer committed Mar 10, 2011
@@ -259,4 +259,4 @@ this.$exec = Browser.exec;
//</1.2compat>
-}).call(this);
+})();
@@ -118,4 +118,4 @@ this.Options = new Class({
});
-}).call(this);
+})();
@@ -112,4 +112,4 @@ Class.Mutators = {
}
};
-}).call(this);
+})();
View
@@ -508,4 +508,4 @@ this.$unlink = function(object){
//</1.2compat>
-}).call(this);
+})();
@@ -241,7 +241,7 @@ function getCompatElement(element){
return (!doc.compatMode || doc.compatMode == 'CSS1Compat') ? doc.html : doc.body;
}
-}).call(this);
+})();
//aliases
Element.alias({position: 'setPosition'}); //compatability
@@ -172,4 +172,4 @@ Element.Events = new Hash(Element.Events);
//</1.2compat>
-}).call(this);
+})();
@@ -180,4 +180,4 @@ Element.ShortStyles = {margin: {}, padding: {}, border: {}, borderWidth: {}, bor
Short.borderColor[bdc] = Short[bd][bdc] = All[bdc] = 'rgb(@, @, @)';
});
-}).call(this);
+})();
View
@@ -176,4 +176,4 @@ var pullInstance = function(fps){
}
};
-}).call(this);
+})();
@@ -78,4 +78,4 @@ JSON.decode = function(string, secure){
return eval('(' + string + ')');
};
-}).call(this);
+})();
@@ -110,4 +110,4 @@ Swiff.remote = function(obj, fn){
return eval(rs);
};
-}).call(this);
+})();

0 comments on commit 8521f48

Please sign in to comment.