-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50b8e13
commit 7d49f3b
Showing
4 changed files
with
747 additions
and
530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
JQueryPlugin/pub/System/JQueryPlugin/plugins/migrate/jquery.migrate.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- jquery-migrate-1.3.0.js 2016-01-13 15:50:20.000000000 +0100 | ||
+++ jquery.migrate.uncompressed.js 2016-02-15 14:11:12.370463388 +0100 | ||
@@ -16,7 +16,8 @@ | ||
jQuery.migrateWarnings = []; | ||
|
||
// Set to true to prevent console output; migrateWarnings still maintained | ||
-// jQuery.migrateMute = false; | ||
+jQuery.migrateMute = true; | ||
+jQuery.migrateTrace = false; | ||
|
||
// Show a message on the console so devs know we're active | ||
if ( !jQuery.migrateMute && window.console && window.console.log ) { | ||
@@ -269,9 +270,14 @@ | ||
/(webkit)[ \/]([\w.]+)/.exec( ua ) || | ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || | ||
/(msie) ([\w.]+)/.exec( ua ) || | ||
+ /(trident).*; rv:([\w.]+)/.exec( ua ) || | ||
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) || | ||
[]; | ||
|
||
+ if (match[1] === 'trident') { | ||
+ match[1] = 'msie'; | ||
+ } | ||
+ | ||
return { | ||
browser: match[ 1 ] || "", | ||
version: match[ 2 ] || "0" | ||
@@ -299,7 +305,7 @@ | ||
} | ||
|
||
// Warn if the code tries to get jQuery.browser | ||
-migrateWarnProp( jQuery, "browser", jQuery.browser, "jQuery.browser is deprecated" ); | ||
+//migrateWarnProp( jQuery, "browser", jQuery.browser, "jQuery.browser is deprecated" ); | ||
|
||
// jQuery.boxModel deprecated in 1.3, jQuery.support.boxModel deprecated in 1.7 | ||
jQuery.boxModel = jQuery.support.boxModel = (document.compatMode === "CSS1Compat"); |
Oops, something went wrong.