jenkins-bot has submitted this change and it was merged. Change subject: Update VE core submodule to master (d6c6a85) ......................................................................
Update VE core submodule to master (d6c6a85) New changes: c48d7cc Add support for placing a toolbar dialog in the side margin ee7e14b FindAndReplaceDialog#renderFragments: Protect against null surface fc61463 Fix dm.Surface#getHistory to not return undone items f1dff2f Introduce ve.Range#overlapsRange method f608958 Introduce dm.Surface#getModifiedRanges db114ed Move debugging data-url GIFs to a debug only file 1dd8194 Update RangeFix to 0.2.0 706ff4e Add 'Support: [browser]' to browser hack comments 4f52afc Inline slugs: Limit Firefox hack to versions <38 bf73326 Add classList polyfill for IE9 59d78aa Fix access of iframe-created document in IE9 a886ae1 Hide borders on linked images in IE9 5293974 Fix double-click to edit table cells in IE9 a49a02f Add some more Support: comments Depends-On: I9c5cea3e8df1fae001d4d98c0782a04dec803776 Change-Id: I460368f509a213464e57bb95f2d726305ef608de --- M .jsduck/eg-iframe.html M extension.json M lib/ve A modules/ve-mw/init/classListSkipFunction.js 4 files changed, 26 insertions(+), 0 deletions(-) Approvals: Catrope: Looks good to me, approved jenkins-bot: Verified diff --git a/.jsduck/eg-iframe.html b/.jsduck/eg-iframe.html index 0867b1a..bc6045e 100644 --- a/.jsduck/eg-iframe.html +++ b/.jsduck/eg-iframe.html @@ -123,6 +123,9 @@ <!-- papaparse --> <script src="lib/ve/lib/papaparse/papaparse.js"></script> + <!-- dom-classlist-shim --> + <script src="lib/ve/lib/classList/classList.js"></script> + <!-- visualEditor.supportCheck --> <script src="lib/ve/src/init/ve.init.SupportCheck.js"></script> diff --git a/extension.json b/extension.json index 2ed1fb8..6651133 100644 --- a/extension.json +++ b/extension.json @@ -239,6 +239,14 @@ "mobile" ] }, + "dom-classlist-shim": { + "scripts": "lib/ve/lib/classList/classList.js", + "targets": [ + "desktop", + "mobile" + ], + "skipFunction": "modules/ve-mw/init/classListSkipFunction.js" + }, "rangefix": { "scripts": "lib/ve/lib/rangefix/rangefix.js", "targets": [ @@ -860,6 +868,7 @@ "unicodejs", "rangefix", "papaparse", + "dom-classlist-shim", "jquery.client", "ext.visualEditor.base", "ext.visualEditor.supportCheck" diff --git a/lib/ve b/lib/ve index f8be8c3..d6c6a85 160000 --- a/lib/ve +++ b/lib/ve -Subproject commit f8be8c372ee9e12023c7d9687fe35f9509a609b0 +Subproject commit d6c6a850a5720a587758faec3efcb8d4c4a0f88f diff --git a/modules/ve-mw/init/classListSkipFunction.js b/modules/ve-mw/init/classListSkipFunction.js new file mode 100644 index 0000000..4be1da4 --- /dev/null +++ b/modules/ve-mw/init/classListSkipFunction.js @@ -0,0 +1,14 @@ +/*! + * + * VisualEditor skip function for classList.js. + * + * @copyright 2011-2016 VisualEditor Team and others; see http://ve.mit-license.org + * Adapted from http://purl.eligrey.com/github/classList.js/blob/master/classList.js + */ +return !!( + 'classList' in document.createElement( '_' ) && + !( + document.createElementNS && + !( 'classList' in document.createElementNS( 'http://www.w3.org/2000/svg', 'g' ) ) + ) + ); -- To view, visit https://gerrit.wikimedia.org/r/284114 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I460368f509a213464e57bb95f2d726305ef608de Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Jforrester <jforres...@wikimedia.org> Gerrit-Reviewer: Catrope <roan.katt...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits