Merge "Assert that blocks were inserted successfully in UserTest"
[lhc/web/wiklou.git] / resources / lib / jquery / jquery.migrate.js
index 19cdef6..992a734 100644 (file)
@@ -4,6 +4,8 @@
  *
  * Patched for MediaWiki:
  * - Add mw.track instrumentation for statistics.
+ * - Disable jQuery.migrateTrace by default. They are slow and
+ *   redundant given console.warn() already provides a trace.
  */
 ;( function( factory ) {
        if ( typeof define === "function" && define.amd ) {
@@ -61,7 +63,8 @@ jQuery.migrateWarnings = [];
 
 // Set to false to disable traces that appear with warnings
 if ( jQuery.migrateTrace === undefined ) {
-       jQuery.migrateTrace = true;
+       // PATCH: Disable extra console.trace() call --Krinkle
+       jQuery.migrateTrace = false;
 }
 
 // Forget any warnings we've already given; public