diff options
| author | John-Philip Johansson <[email protected]> | 2013-05-04 16:55:52 +0200 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-07-26 00:39:14 -0700 |
| commit | 0d33455ef486d0cf06cb29d427efda57f42f7ea9 (patch) | |
| tree | f7ddc320adff7ed7bed55b90665bb1dad3e8e01e /js/tests/unit/button.js | |
| parent | 995add132efdb6557f191f1a65097f19260a4f7d (diff) | |
| download | bootstrap-0d33455ef486d0cf06cb29d427efda57f42f7ea9.tar.xz bootstrap-0d33455ef486d0cf06cb29d427efda57f42f7ea9.zip | |
Replace Makefile with GruntJS
A rebase (against soon-to-be 3.0.0-rc.1) & squash of
https://github.com/twbs/bootstrap/pull/7786 AKA
https://github.com/twitter/bootstrap/pull/7786
originally by
@seriema
@mokkabonna
@jojohess
Rebased by @cvrebert
Diffstat (limited to 'js/tests/unit/button.js')
| -rw-r--r-- | js/tests/unit/button.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/js/tests/unit/button.js b/js/tests/unit/button.js index 0f8988a7d..41ddb5c2f 100644 --- a/js/tests/unit/button.js +++ b/js/tests/unit/button.js @@ -40,14 +40,15 @@ $(function () { ok(btn.hasClass('disabled'), 'btn has disabled class') start() stop() + btn.button('reset') + equals(btn.html(), 'mdo', 'btn text equals mdo') + setTimeout(function () { + ok(!btn.attr('disabled'), 'btn is not disabled') + ok(!btn.hasClass('disabled'), 'btn does not have disabled class') + start() + }, 0) }, 0) - btn.button('reset') - equals(btn.html(), 'mdo', 'btn text equals mdo') - setTimeout(function () { - ok(!btn.attr('disabled'), 'btn is not disabled') - ok(!btn.hasClass('disabled'), 'btn does not have disabled class') - start() - }, 0) + }) test("should toggle active", function () { |
