diff --git a/src/bootlint.js b/src/bootlint.js index 6c0279a..a6b8753 100644 --- a/src/bootlint.js +++ b/src/bootlint.js @@ -440,14 +440,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 a1ee15a..0000000 --- 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 c3c7e2a..d701102 100644 --- a/test/bootlint_test.js +++ b/test/bootlint_test.js @@ -283,19 +283,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')), @@ -306,22 +293,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 `