Skip to content

Commit

Permalink
Release v0.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Feb 10, 2012
1 parent 641c52a commit 12397f0
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 21 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
February 10, 2012 - v0.9.6

* Make sure line numbers are correct for vendor-prefix rule (fixes #238) (Nicholas C. Zakas)
* fix line and column numbers for compatible vendor prefixes rule (fixes #236) (Nicholas C. Zakas)
* Fixed JavaScript compatibility issues in several places. Everything now works in IE < 9. (Nicholas C. Zakas)
* Updated parser (fixes #234) (Nicholas C. Zakas)

February 3, 2012 - v0.9.5

Expand Down Expand Up @@ -239,6 +245,8 @@ June 15, 2011 - v0.1.0








6 changes: 3 additions & 3 deletions release/csslint-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/* Build time: 10-February-2012 02:23:58 */
/* Build time: 10-February-2012 02:34:15 */

/*!
Parser-Lib
Expand Down Expand Up @@ -8597,11 +8597,11 @@ CSSLint.addRule({
actual = needsStandard[i].actual;

if (!properties[needed]){
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", event.line, event.col, rule);
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
} else {
//make sure standard property is last
if (properties[needed][0].pos < properties[actual][0].pos){
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", event.line, event.col, rule);
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions release/csslint-rhino.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/* Build time: 10-February-2012 02:23:58 */
/* Build time: 10-February-2012 02:34:15 */
var CSSLint = (function(){

/*!
Expand Down Expand Up @@ -8598,11 +8598,11 @@ CSSLint.addRule({
actual = needsStandard[i].actual;

if (!properties[needed]){
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", event.line, event.col, rule);
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
} else {
//make sure standard property is last
if (properties[needed][0].pos < properties[actual][0].pos){
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", event.line, event.col, rule);
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
}
}
}
Expand Down
9 changes: 7 additions & 2 deletions release/csslint-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1734,10 +1734,12 @@ background: -ms-linear-gradient(top, #1e5799 ,#2989d8 ,#207cca ,#7db9e8 );
name: "Vendor Prefix Errors",

"Using -moz-border-radius without border-radius should result in one warning": function(){
var result = CSSLint.verify("h1 { -moz-border-radius: 5px; }", { "vendor-prefix": 1 });
var result = CSSLint.verify("h1 {\n -moz-border-radius: 5px; \n}", { "vendor-prefix": 1 });
Assert.areEqual(1, result.messages.length);
Assert.areEqual("warning", result.messages[0].type);
Assert.areEqual("Missing standard property 'border-radius' to go along with '-moz-border-radius'.", result.messages[0].message);
Assert.areEqual(2, result.messages[0].line);
Assert.areEqual(5, result.messages[0].col);
},

"Using -webkit-border-radius without border-radius should result in one warning": function(){
Expand All @@ -1755,10 +1757,13 @@ background: -ms-linear-gradient(top, #1e5799 ,#2989d8 ,#207cca ,#7db9e8 );
},

"Using -moz-border-radius after border-radius should result in one warning": function(){
var result = CSSLint.verify("h1 { border-radius: 5px; -moz-border-radius: 5px; }", { "vendor-prefix": 1 });
var result = CSSLint.verify("h1 { \nborder-radius: 5px; \n -moz-border-radius: 5px; }", { "vendor-prefix": 1 });
Assert.areEqual(1, result.messages.length);
Assert.areEqual("warning", result.messages[0].type);
Assert.areEqual("Standard property 'border-radius' should come after vendor-prefixed property '-moz-border-radius'.", result.messages[0].message);
Assert.areEqual(3, result.messages[0].line);
Assert.areEqual(5, result.messages[0].col);

},

"Using -webkit-border-bottom-left-radius with border-bottom-left-radius should not result in a warning.": function(){
Expand Down
6 changes: 3 additions & 3 deletions release/csslint-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/* Build time: 10-February-2012 02:23:58 */
/* Build time: 10-February-2012 02:34:15 */

/*!
Parser-Lib
Expand Down Expand Up @@ -8597,11 +8597,11 @@ CSSLint.addRule({
actual = needsStandard[i].actual;

if (!properties[needed]){
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", event.line, event.col, rule);
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
} else {
//make sure standard property is last
if (properties[needed][0].pos < properties[actual][0].pos){
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", event.line, event.col, rule);
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions release/csslint-wsh.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/* Build time: 10-February-2012 02:23:58 */
/* Build time: 10-February-2012 02:34:15 */
var CSSLint = (function(){

/*!
Expand Down Expand Up @@ -8598,11 +8598,11 @@ CSSLint.addRule({
actual = needsStandard[i].actual;

if (!properties[needed]){
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", event.line, event.col, rule);
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
} else {
//make sure standard property is last
if (properties[needed][0].pos < properties[actual][0].pos){
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", event.line, event.col, rule);
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions release/csslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/* Build time: 10-February-2012 02:23:58 */
/* Build time: 10-February-2012 02:34:15 */
var CSSLint = (function(){

/*!
Expand Down Expand Up @@ -8598,11 +8598,11 @@ CSSLint.addRule({
actual = needsStandard[i].actual;

if (!properties[needed]){
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", event.line, event.col, rule);
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
} else {
//make sure standard property is last
if (properties[needed][0].pos < properties[actual][0].pos){
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", event.line, event.col, rule);
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion release/npm/cli.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
/* Build time: 10-February-2012 02:23:58 */
/* Build time: 10-February-2012 02:34:15 */

/*
* Encapsulates all of the CLI functionality. The api argument simply
Expand Down
6 changes: 3 additions & 3 deletions release/npm/lib/csslint-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/* Build time: 10-February-2012 02:23:58 */
/* Build time: 10-February-2012 02:34:15 */

/*!
Parser-Lib
Expand Down Expand Up @@ -8597,11 +8597,11 @@ CSSLint.addRule({
actual = needsStandard[i].actual;

if (!properties[needed]){
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", event.line, event.col, rule);
reporter.report("Missing standard property '" + needed + "' to go along with '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
} else {
//make sure standard property is last
if (properties[needed][0].pos < properties[actual][0].pos){
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", event.line, event.col, rule);
reporter.report("Standard property '" + needed + "' should come after vendor-prefixed property '" + actual + "'.", properties[actual][0].name.line, properties[actual][0].name.col, rule);
}
}
}
Expand Down

0 comments on commit 12397f0

Please sign in to comment.