diff --git a/src/bootlint.js b/src/bootlint.js index 2d984f1a..1bc39803 100644 --- a/src/bootlint.js +++ b/src/bootlint.js @@ -442,14 +442,12 @@ var LocationIndex = _location.LocationIndex; } }); */ - /* addLinter('W007', function lintBtnType($, reporter) { var badBtnType = $('button:not([type="submit"], [type="reset"], [type="button"])'); if (badBtnType.length) { reporter('Found one or more ` - - - - -
-
    -
  1. -
- - diff --git a/test/_old_fixtures/buttons/btn-toggle.html b/test/_old_fixtures/buttons/btn-toggle.html deleted file mode 100644 index a1ee15a0..00000000 --- a/test/_old_fixtures/buttons/btn-toggle.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - Test - - - - - - - - - - - -
- - - -
- - -
- - - -
- - -
-
- - -
- - -
- -
-
    - - diff --git a/test/bootlint_test.js b/test/bootlint_test.js index bbca8134..858242a5 100644 --- a/test/bootlint_test.js +++ b/test/bootlint_test.js @@ -285,19 +285,6 @@ exports.bootlint = { test.done(); }, */ - /* - 'dropdown-toggle comes before btn': function (test) { - test.expect(2); - test.deepEqual(lintHtml(utf8Fixture('buttons/btn-toggle.html')), - [], - 'should not complain when correct .dropdown-toggle markup is used.'); - test.deepEqual(lintHtml(utf8Fixture('buttons/btn-toggle-after-btn.html')), - ['`.btn.dropdown-toggle` must be the last button in a button group.'], - 'should complain when `.dropdown-toggle` is on the left side of a btn'); - test.done(); - }, - */ - /* 'buttons should set type': function (test) { test.expect(2); test.deepEqual(lintHtml(utf8Fixture('buttons/without-type.html')), @@ -308,22 +295,19 @@ exports.bootlint = { 'should not complain when type is set on buttons'); test.done(); }, - */ - /* 'use disabled attribute on button.btn and input.btn instead of .disabled': function (test) { test.expect(3); test.deepEqual(lintHtml(utf8Fixture('buttons/button-disabled-class.html')), ['Using the `.disabled` class on a `