aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Luong2013-06-27 12:15:38 (EDT)
committerMark Macdonald2013-06-27 12:33:31 (EDT)
commit40a81a10ac7e271045bbf31c6230527aed4230c0 (patch)
treea242ef442ae08548c3e2fd4d273c1d276bd92700
parentc51903f9e25b465dcc4b20cb1478fadd185d553d (diff)
downloadorg.eclipse.orion.client-40a81a10ac7e271045bbf31c6230527aed4230c0.zip
org.eclipse.orion.client-40a81a10ac7e271045bbf31c6230527aed4230c0.tar.gz
org.eclipse.orion.client-40a81a10ac7e271045bbf31c6230527aed4230c0.tar.bz2
Bug 411788 - [BrowserCompatibility] Alert not displayed on minified orion in <IE10 - undo converting BrowserCompatibility into a module
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js b/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js
index bf0abc3..7d4dd79 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js
@@ -10,7 +10,7 @@
/*global alert confirm define localStorage*/
/*jslint browser:true sub:true regexp:false*/
-define(function() {
+(function() {
function isSupportedBrowser() {
var userAgent = navigator.userAgent;
var isSupported = {
@@ -73,4 +73,4 @@ define(function() {
supportsLocalStorage: supportsLocalStorage,
throwBrowserAlert: throwBrowserAlert
};
-}); \ No newline at end of file
+}()); \ No newline at end of file