aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2012-03-07 18:23:46 +0100
committerjaubourg <j@ubourg.net>2012-03-07 18:23:46 +0100
commitae138ac6d199163f48b31685d63d22832fc41ad2 (patch)
treec0f1fcbfba1a99c2c1e391f258eddc2fd6c18b9d
parentc5712a24bd6372761e4a8934bac5ac7d98a42191 (diff)
downloadjquery-ae138ac6d199163f48b31685d63d22832fc41ad2.tar.gz
jquery-ae138ac6d199163f48b31685d63d22832fc41ad2.zip
Makes sure start is always called with default context and no arguments. Should stop FF from acting up. Hopefully, this ugly patch can be removed in the future.
-rw-r--r--test/data/testinit.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/data/testinit.js b/test/data/testinit.js
index 850e19c27..43244e7eb 100644
--- a/test/data/testinit.js
+++ b/test/data/testinit.js
@@ -151,4 +151,12 @@ function url(value) {
return iframe;
}
};
-}()); \ No newline at end of file
+}());
+
+// Sandbox start for great justice
+(function() {
+ var oldStart = window.start;
+ window.start = function() {
+ oldStart();
+ };
+})(); \ No newline at end of file