Browse Source

Sorry, i added a global variable

Gaël Métais 10 years ago
parent
commit
447cf90887
1 changed files with 1 additions and 0 deletions
  1. 1 0
      phantomas_custom/modules/jQYLT/jQYLT.js

+ 1 - 0
phantomas_custom/modules/jQYLT/jQYLT.js

@@ -119,6 +119,7 @@ function get_type(thing){
                 // TODO: create a helper - phantomas.spyGlobalVar() ?
                 window.__defineSetter__('jQuery', function(val) {
                     var version;
+                    var jQueryFn;
                     var oldJQuery = jQuery;
 
                     if (!val || !val.fn) {