Permalink
Browse files

[fix] stdlib, server: take care of js renaming

  • Loading branch information...
1 parent a6a9515 commit 161a6dee810b4e14812d665a40e50adbe087ec54 @BourgerieQuentin BourgerieQuentin committed Feb 28, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −2 opabsl/jsbsl/bslSession.js
  2. +1 −0 tools/jschecker/externals.js
View
4 opabsl/jsbsl/bslSession.js
@@ -84,8 +84,8 @@ var LowLevelPingLoop = {};
var async_rpc_return = true;
/* If client is safari, we must force rpc to be synchronous */
- var desactivate_safari_hack;
- if (desactivate_safari_hack != true && !command_line_execution && 'safari' in jQuery.browser){
+ var hack = typeof(desactivate_safari_hack) == 'undefined' || !desactivate_safari_hack
+ if (hack && !command_line_execution && 'safari' in jQuery.browser){
async_rpc_return = !jQuery.browser.safari;
}
View
1 tools/jschecker/externals.js
@@ -7,6 +7,7 @@
*/
var page_server = 0;
+var desactivate_safari_hack = false;
var page_lang = "en";
var base_url = "";

0 comments on commit 161a6de

Please sign in to comment.