Use Node.ELEMENT_NODE and Node.TEXT_NODE constants instead of magic numbers
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 13 Jul 2015 18:02:49 +0000 (20:02 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 16 Jul 2015 17:32:45 +0000 (17:32 +0000)
commitadce8103fa8b44be9d0bad6eee1bbb336b8b1176
tree420d58117ec516de7b83f437641d8daaaec81212
parent00fb9b72ce57f0719f3d39c70c6b2e98a628a638
Use Node.ELEMENT_NODE and Node.TEXT_NODE constants instead of magic numbers

Updating all non-third-party scripts to depend on 'dom-level2-shim'
and use the constants.

* jquery.highlightText
* jquery.tablesorter
* mediawiki.api.upload
* test.mediawiki.qunit.testrunner

Change-Id: Ib07dded9fa18c749b3c064ab90326852146567b2
resources/Resources.php
resources/src/jquery/jquery.highlightText.js
resources/src/jquery/jquery.tablesorter.js
resources/src/mediawiki.api/mediawiki.api.upload.js
tests/qunit/QUnitTestResources.php
tests/qunit/data/testrunner.js