mediawiki-extensions-Visual.../modules/ve-mw/init/classListSkipFunction.js
James D. Forrester be1809c35d 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
2016-04-18 18:34:20 -07:00

15 lines
460 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' ) )
)
);