Commit Graph

4 Commits

Author SHA1 Message Date
Dave Methvin
3842246024 CSS: Make show/hide/toggle methods a module
Unit test changes some uses of .show() and .hide() to .css( "display", ... ),
there was already an implicit assumption in several of the existing tests.

Fixes gh-2193
Close gh-2648

(cherry picked from commit 67d7a2eefe)

Conflicts:
	Gruntfile.js
	src/css.js
	src/css/showHide.js
	test/unit/css.js
2015-10-25 14:54:55 -04:00
Michał Gołębiowski
1b48eef4ca Tests: Really fix tests in IE 8 this time
IE 8 doesn't have indexOf on arrays. Also, one toLowerCase() was missing. Oops.
2015-09-08 18:59:01 +02:00
Michał Gołębiowski
f709a284e2 Tests: Make basic tests work in IE 8
IE 8 prints tag names in upper case which was breaking some tests.

This commit is not necessary on master but has been brought here to keep
tests similar in both branches.

(cherry-picked from 5914b10362)
2015-09-08 18:46:15 +02:00
Michał Gołębiowski
c7d458fb9e Tests: Backport basic tests from master
Commit 2c7e9c9 added the basic test suite; these are the only tests that
are now run on Android 2.3 on master. On compat we're keeping full Android 2.3
support for now but the tests and the testswarm basic run mode have been
cherry-picked anyway to reduce the divergence between branches.

(cherry-picked from 2c7e9c9349)

Fixes gh-2505
Closes gh-2509
Refs gh-2483
2015-09-08 18:10:51 +02:00