Jforrester has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/349242 )
Change subject: Update VE core submodule to master (bfb35aaef) ...................................................................... Update VE core submodule to master (bfb35aaef) New changes: 57f8064b6 tests: Enforce dm unit test coverage at 20% per file and 80% globally 6f757c670 LinkAnnotation: add a getFragment method for consistency with MWInternalLinkAnnotation c40a3f152 Drop the classList polyfill for IE9 d1af6c6bb Update OOjs UI to v0.21.1 bfb35aaef Localisation updates from https://translatewiki.net. Bug: T162277 Change-Id: I5146bc421bb88e56bafadccefc7bbdee106504ea --- M .jsduck/eg-iframe.html M Gruntfile.js M extension.json M lib/ve D modules/ve-mw/init/classListSkipFunction.js 5 files changed, 2 insertions(+), 28 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/42/349242/1 diff --git a/.jsduck/eg-iframe.html b/.jsduck/eg-iframe.html index 1d6481f..ea1723b 100644 --- a/.jsduck/eg-iframe.html +++ b/.jsduck/eg-iframe.html @@ -140,9 +140,6 @@ <!-- spark-md5 --> <script src="lib/ve/lib/spark-md5/spark-md5.js"></script> - <!-- dom-classlist-shim --> - <script src="lib/ve/lib/classList/classList.js"></script> - <!-- visualEditor.base.build --> <script src="lib/ve/src/ve.js"></script> <script src="lib/ve/src/ve.utils.js"></script> diff --git a/Gruntfile.js b/Gruntfile.js index 16dd96c..2913905 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -133,8 +133,7 @@ }, all: [ '*.js', - '{build,modules}/**/*.js', - '!modules/ve-mw/init/classListSkipFunction.js' + '{build,modules}/**/*.js' ] }, stylelint: { diff --git a/extension.json b/extension.json index 90f9d1f..760471a 100644 --- a/extension.json +++ b/extension.json @@ -243,14 +243,6 @@ "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": [ diff --git a/lib/ve b/lib/ve index fc46ed8..bfb35aa 160000 --- a/lib/ve +++ b/lib/ve @@ -1 +1 @@ -Subproject commit fc46ed86f1682595c875aa994c9b1d371ad3cdd5 +Subproject commit bfb35aaef86697b99baf5b5ca83a8a1b1e861663 diff --git a/modules/ve-mw/init/classListSkipFunction.js b/modules/ve-mw/init/classListSkipFunction.js deleted file mode 100644 index 01797a9..0000000 --- a/modules/ve-mw/init/classListSkipFunction.js +++ /dev/null @@ -1,14 +0,0 @@ -/*! - * - * VisualEditor skip function for classList.js. - * - * @copyright 2011-2017 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/349242 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5146bc421bb88e56bafadccefc7bbdee106504ea Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Jforrester <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
