html-inspector
Advanced tools
Comparing version 0.8.0 to 0.8.1
{ | ||
"name": "html-inspector", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"main": "html-inspector.js", | ||
@@ -5,0 +5,0 @@ "ignore": [ |
@@ -0,1 +1,5 @@ | ||
### 0.8.1 (May 30, 2014) | ||
* Update Suit CSS URL. | ||
### 0.8.0 (February 7, 2014) | ||
@@ -2,0 +6,0 @@ |
10
FAQs.md
@@ -26,3 +26,2 @@ # FAQs | ||
<<<<<<< HEAD | ||
#### HTML Inspector warns me about using classes not found in any stylesheet, but those classes *are* in my stylesheets. What's going on? | ||
@@ -33,10 +32,3 @@ | ||
Unfortunately, there's no easy way around this. Your options are to either only use stylesheets on the same domain, whitelist the offending classes, or exclude the `unused-classes` rule. | ||
======= | ||
#### Why does HTML Inspector warn me about unused classes when those classes *are* found in my stylesheets? | ||
HTML Inspector creates its list of classes by looping through the `document.styleSheets` object. For most situations this works just fine, but if you have stylesheets loaded from a different domain, or you're using the `file:` protocol, most browsers report those stylesheets as empty. | ||
Unfortunately, there's no easy way around this. Your options are to either only use stylesheets on the same domain, whitelist the offending classes, or simply not use the `unused-classes` rule. | ||
>>>>>>> 689a1b44c795dda09711cd20ffd61b23ff481190 | ||
#### How can I get HTML Inspector to stop warning me about unused Modernizr classes? | ||
@@ -96,3 +88,3 @@ | ||
script.type = 'text/javascript'; | ||
script.src = 'http://cdnjs.cloudflare.com/ajax/libs/html-inspector/0.7.3/html-inspector.js'; | ||
script.src = 'http://cdnjs.cloudflare.com/ajax/libs/html-inspector/0.8.0/html-inspector.js'; | ||
script.onload = function(){ | ||
@@ -99,0 +91,0 @@ w.HTMLInspector.inspect(); |
{ | ||
"name": "html-inspector", | ||
"title": "HTML Inspector", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "HTML Inspector is a code quality tool to help you and your team write better markup. It's written in JavaScript and runs in the browser, so testing your HTML has never been easier.", | ||
@@ -12,3 +12,3 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "grunt test" | ||
"test": "./node_modules/.bin/grunt test" | ||
}, | ||
@@ -43,4 +43,5 @@ "repository": { | ||
"semver": "*", | ||
"moment": "*" | ||
"moment": "*", | ||
"grunt-cli": "~0.1.13" | ||
} | ||
} |
@@ -27,3 +27,3 @@ # HTML Inspector | ||
```html | ||
<script src="http://cdnjs.cloudflare.com/ajax/libs/html-inspector/0.7.3/html-inspector.js"></script> | ||
<script src="http://cdnjs.cloudflare.com/ajax/libs/html-inspector/0.8.0/html-inspector.js"></script> | ||
``` | ||
@@ -30,0 +30,0 @@ |
@@ -6,3 +6,3 @@ // ============================================================ | ||
// | ||
// suit: https://github.com/necolas/suit | ||
// suit: http://suitcss.github.io/ | ||
// ------------------------------------- | ||
@@ -9,0 +9,0 @@ // BlockName |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
360451
16
7039