Skip to content

Commit

Permalink
Merge branch 'master' of github.com:yaniswang/HTMLHint
Browse files Browse the repository at this point in the history
  • Loading branch information
yaniswang committed Mar 8, 2015
2 parents 449f039 + 0d3c45f commit 5f9fa16
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 5f9fa16

Please sign in to comment.