Skip to content

Commit

Permalink
Merge pull request #41 from waldyrious/patch-1
Browse files Browse the repository at this point in the history
grammar fix
  • Loading branch information
yaniswang committed Mar 7, 2015
2 parents 44738b0 + 52c9ab1 commit 0d3c45f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rules/style-disabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
*/
HTMLHint.addRule({
id: 'style-disabled',
description: 'Style tag can not be use.',
description: 'Style tag can not be used.',
init: function(parser, reporter){
var self = this;
parser.addListener('tagstart', function(event){
if(event.tagName.toLowerCase() === 'style'){
reporter.warn('Style tag can not be use.', event.line, event.col, self, event.raw);
reporter.warn('Style tag can not be used.', event.line, event.col, self, event.raw);
}
});
}
});
});

0 comments on commit 0d3c45f

Please sign in to comment.