dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Use parsed HTML error responses instead of api-error-*"
[lhc/web/wiklou.git]
/
resources
/
lib
/
jquery.client
/
jquery.client.js
diff --git
a/resources/lib/jquery.client/jquery.client.js
b/resources/lib/jquery.client/jquery.client.js
index
1560c7d
..
8257d85
100644
(file)
--- a/
resources/lib/jquery.client/jquery.client.js
+++ b/
resources/lib/jquery.client/jquery.client.js
@@
-1,5
+1,5
@@
/*!
/*!
- * jQuery Client v
1
.0.0
+ * jQuery Client v
2
.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.
@@
-182,9
+182,12
@@
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 = '
msi
e';
+ name = '
edg
e';
version = match[1];
layout = 'edge';
layoutversion = parseInt( match[1], 10 );
version = match[1];
layout = 'edge';
layoutversion = parseInt( match[1], 10 );