diff options
author | XhmikosR <xhmikosr@gmail.com> | 2016-03-07 22:47:53 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2016-03-14 11:58:15 +0300 |
commit | 202e43ec24f74e737bcc8441a91daa63141201eb (patch) | |
tree | d8e5f05c5905053213e8138d85d186104c223d2b /src | |
parent | 8816fdd1067300f596518c06960bc7f43f48c29b (diff) |
Use backticks around CSS selectors in lint messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/bootlint.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bootlint.js b/src/bootlint.js index f5308d2..dae590b 100644 --- a/src/bootlint.js +++ b/src/bootlint.js @@ -767,7 +767,7 @@ var LocationIndex = _location.LocationIndex; return $(div).filter(':has(>label>input[type="checkbox"])').length <= 0; }); if (badCheckboxes.length) { - reporter('Incorrect markup used with the `.checkbox` class. The correct markup structure is .checkbox>label>input[type="checkbox"]', badCheckboxes); + reporter('Incorrect markup used with the `.checkbox` class. The correct markup structure is `.checkbox>label>input[type="checkbox"]`', badCheckboxes); } }); addLinter("E018", function lintBlockRadios($, reporter) { @@ -775,7 +775,7 @@ var LocationIndex = _location.LocationIndex; return $(div).filter(':has(>label>input[type="radio"])').length <= 0; }); if (badRadios.length) { - reporter('Incorrect markup used with the `.radio` class. The correct markup structure is .radio>label>input[type="radio"]', badRadios); + reporter('Incorrect markup used with the `.radio` class. The correct markup structure is `.radio>label>input[type="radio"]`', badRadios); } }); addLinter("E019", function lintInlineCheckboxes($, reporter) { @@ -787,7 +787,7 @@ var LocationIndex = _location.LocationIndex; return $(label).children('input[type="checkbox"]').length <= 0; }); if (badStructures.length) { - reporter('Incorrect markup used with the `.checkbox-inline` class. The correct markup structure is label.checkbox-inline>input[type="checkbox"]', badStructures); + reporter('Incorrect markup used with the `.checkbox-inline` class. The correct markup structure is `label.checkbox-inline>input[type="checkbox"]`', badStructures); } }); addLinter("E020", function lintInlineRadios($, reporter) { @@ -799,7 +799,7 @@ var LocationIndex = _location.LocationIndex; return $(label).children('input[type="radio"]').length <= 0; }); if (badStructures.length) { - reporter('Incorrect markup used with the `.radio-inline` class. The correct markup structure is label.radio-inline>input[type="radio"]', badStructures); + reporter('Incorrect markup used with the `.radio-inline` class. The correct markup structure is `label.radio-inline>input[type="radio"]`', badStructures); } }); addLinter("E021", function lintButtonsCheckedActive($, reporter) { |