Changeset 22218 for extensions/Autosize/js/conflit.js
- Timestamp:
- Apr 15, 2013, 1:42:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/conflit.js
r18716 r22218 7 7 var browser = detect_browser(); 8 8 image_w = 600; 9 image_h = 400 9 image_h = 400; 10 10 var pamoorama_detect = true; 11 11 … … 23 23 netscape: false, 24 24 seamonkey: false 25 } 25 }; 26 26 if (checkIt('konqueror')) { mybrowser.Konqueror = true; lbrowser = "konqueror"; OS = "Linux"; } 27 27 else if (checkIt('seamonkey')) { mybrowser.seamonkey = true; lbrowser = "seamonkey"; } … … 46 46 mybrowser.OS = OS; 47 47 mybrowser.browser = lbrowser; 48 return mybrowser 48 return mybrowser; 49 49 }; 50 50 function checkIt(string) { … … 190 190 jQuery(".gmapsPopup").css("left", l1 + "px"); 191 191 jQuery(".gmapsPopup").css("top", h1 + "px"); 192 }) 192 }); 193 193 //============================================================= 194 194 // jQuery(window).resize(); … … 281 281 function getStackTrace() { 282 282 var callstack = []; 283 var isCallstackPopulated = false; 283 var isCallstackPopulated = false; 284 var state_ff = ""; 285 var currentFunction = arguments.callee.caller; 286 var fn2 = null; 287 var fn1=null; 288 284 289 try { 285 290 i.dont.exist += 0; //doesn't exist- that's the point 286 291 } catch (e) { 287 var retcallstack = []; 288 var e_message = e.message; 292 retcallstack = []; 289 293 var e_stack = e.stack; 290 var state_ff = "";294 291 295 if (e_stack) { //Firefox Opera 3.6 292 296 //=== test fichier source ============= … … 361 365 } 362 366 if (!isCallstackPopulated) { //IE and Safari 363 var currentFunction = arguments.callee.caller; 367 currentFunction = arguments.callee.caller; 368 fn2 = null,fn1=null; 364 369 //next 365 370 callstack = []; … … 370 375 } 371 376 states = []; 372 varfn1 = currentFunction.toString(); // fonction d'appel local (conflit)377 fn1 = currentFunction.toString(); // fonction d'appel local (conflit) 373 378 374 379 currentFunction = currentFunction.caller; 375 varfn2 = currentFunction.toString(); // fonction d'appel local (conflit)380 fn2 = currentFunction.toString(); // fonction d'appel local (conflit) 376 381 currentFunction = currentFunction.caller; 377 382 //$family … … 407 412 //====================== 408 413 //? bubble 409 Expression = new RegExp("\\$", "gi") 414 Expression = new RegExp("\\$", "gi"); 410 415 if (fn.match(Expression)) { 411 416 if (fn.match(RegExp("rateForm", "gi"))) { … … 416 421 } 417 422 // "window.fireEvent('domready')" 418 Expression = new RegExp("window.fireEvent", "gi") 423 Expression = new RegExp("window.fireEvent", "gi"); 419 424 if (fn.match(Expression)) { //luciano 420 425 // "window.fireEvent('domready')" 421 Expression = new RegExp("window.fireEvent..domready..", "gi") 426 Expression = new RegExp("window.fireEvent..domready..", "gi"); 422 427 if (fn.match(Expression)) { 423 428 states.push('Luciano'); … … 492 497 $.ajax = function (args) { 493 498 return jQuery.ajax(args); 494 } 499 } ; 495 500 } 496 501
Note: See TracChangeset
for help on using the changeset viewer.