Update jQuery Client to v2.0.0
authorTimo Tijhof <krinklemail@gmail.com>
Sun, 14 Jun 2015 02:19:29 +0000 (03:19 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sun, 14 Jun 2015 02:19:29 +0000 (03:19 +0100)
Project

* https://github.com/wikimedia/jquery-client

Release

* https://github.com/wikimedia/jquery-client/releases/tag/v2.0.0
* https://github.com/wikimedia/jquery-client/blob/v2.0.0/jquery.client.js

Breaking changes:

* Microsoft's new Edge browser is now identified as "edge" instead of "msie".

Change-Id: Id3df3e637cd9751a293ca655c51d39492d04d7f6

RELEASE-NOTES-1.26
resources/lib/jquery.client/jquery.client.js

index de34ffc..3693898 100644 (file)
@@ -23,6 +23,7 @@ production.
 * Update es5-shim from v4.0.0 to v4.1.5.
 * Update json2 from revision 2014-02-04 to 2015-05-03.
 * Update Sinon.JS from 1.10.3 to 1.15.0.
 * Update es5-shim from v4.0.0 to v4.1.5.
 * Update json2 from revision 2014-02-04 to 2015-05-03.
 * Update Sinon.JS from 1.10.3 to 1.15.0.
+* Upgrade jQuery Client from v1.0.0 to v2.0.0.
 * Added mediawiki/at-ease 1.0.0
 
 === Bug fixes in 1.26 ===
 * Added mediawiki/at-ease 1.0.0
 
 === Bug fixes in 1.26 ===
index 1560c7d..8257d85 100644 (file)
@@ -1,5 +1,5 @@
 /*!
 /*!
- * jQuery Client v1.0.0
+ * jQuery Client v2.0.0
  * https://www.mediawiki.org/wiki/JQuery_Client
  *
  * Copyright 2010-2015 jquery-client maintainers and other contributors.
  * https://www.mediawiki.org/wiki/JQuery_Client
  *
  * Copyright 2010-2015 jquery-client maintainers and other contributors.
                                        version = match[1];
                                }
                        }
                                        version = match[1];
                                }
                        }
-                       // And IE 12's different lies about not being IE
+                       // And MS Edge's lies about being Chrome
+                       //
+                       // It's different enough from classic IE Trident engine that they do this
+                       // to avoid getting caught by MSIE-specific browser sniffing.
                        if ( name === 'chrome' && ( match = ua.match( /\bedge\/([0-9\.]*)/ ) ) ) {
                        if ( name === 'chrome' && ( match = ua.match( /\bedge\/([0-9\.]*)/ ) ) ) {
-                               name = 'msie';
+                               name = 'edge';
                                version = match[1];
                                layout = 'edge';
                                layoutversion = parseInt( match[1], 10 );
                                version = match[1];
                                layout = 'edge';
                                layoutversion = parseInt( match[1], 10 );