mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 05:56:11 +00:00
5ecf40f51e
babel-polyfill 6.8.0 → 6.9.1 grunt-jscs 2.8.0 → 3.0.0 grunt-jsonlint 1.0.7 → 1.0.8 grunt-stylelint 0.3.0 → 0.4.0 stylelint-config-wikimedia 0.2.0 → 0.2.2 Change-Id: I4db467c7f2bc291a94e7bab86d18e48a44f6054c
15 lines
415 B
JavaScript
15 lines
415 B
JavaScript
/*!
|
|
*
|
|
* 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' ) )
|
|
)
|
|
);
|