Permalink
Browse files

misc updates again

1 parent 1c4077a commit 65fd5d02d012facfa1f0fb9bb7c94ed487cd95e2 @cfjedimaster committed Jul 1, 2015
Showing with 21 additions and 6 deletions.
  1. +3 −0 README.md
  2. +17 −5 main.js
  3. +1 −1 package.json
View
@@ -9,6 +9,9 @@ the current issues.
Issues/Updates
=====
+
+[7/1/15] It now hides the two default messages that are just noise. Warning - while testing a week or so ago, I was able to trip a security block on the w3 site that stopped all requests from my IP. I don't know exactly how it happened (there aren't any loops that could hit the API multiple times), but *something* caused it to throw a flag. I've investigated using the Jar locally, which would require doing the whole Brackets/Node thing, but I'm not sure that makes sense.
+
[6/20/15] New new service API.
[6/8/15] New service API.
View
@@ -33,11 +33,23 @@ define(function (require, exports, module) {
if (item.type === "warning")
type = CodeInspection.Type.WARNING;
- result.errors.push({
- pos: {line:item.lastLine-1, ch:0},
- message:item.message,
- type:type
- });
+ /*
+ The new validator returns 2 info messages that look to be BS.
+ They are:
+ "The Content-Type was “text/html”. Using the HTML parser.
+ "Using the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and ITS 2.0 support."
+
+ For now, we'll just delete them
+ */
+ if(item.message == 'The Content-Type was “text/html”. Using the HTML parser.' ||
+ item.message == 'Using the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and ITS 2.0 support.') {
+ } else {
+ result.errors.push({
+ pos: {line:item.lastLine-1, ch:0},
+ message:item.message,
+ type:type
+ });
+ }
});
}
View
@@ -5,7 +5,7 @@
"homepage": "https://github.com/cfjedimaster/brackets-w3cvalidation",
"keywords":["html","lint","linting","linter"],
"categories":"linting",
- "version": "2.2.1",
+ "version": "2.2.2",
"author": "Raymond Camden <raymondcamden@gmail.com> (http://www.raymondcamden.com)",
"license": "MIT",
"i18n": [

0 comments on commit 65fd5d0

Please sign in to comment.