stylus-help
Advanced tools
Comparing version 1.7.4 to 1.7.5
@@ -168,3 +168,3 @@ // Generated by CoffeeScript 1.8.0 | ||
postJsonChecks = function() { | ||
var att, attribute, attribute_info, check_1, check_2, comma_space, data, file, file_name, key, line, line_num, no_colon_semicolon, pair, s_ac, star_selector, style_attribute_check, stylus_stags, total_tags, _results; | ||
var att, attribute, attribute_info, check_1, check_2, check_3, comma_space, data, file, file_name, key, line, line_num, no_colon_semicolon, pair, s_ac, star_selector, style_attribute_check, stylus_stags, total_tags, _results; | ||
data = processData('convertStyleToJson', args); | ||
@@ -213,3 +213,3 @@ stylus_stags = []; | ||
if (no_colon_semicolon) { | ||
if (/;|:/.test(attribute && !/url/.test(attribute))) { | ||
if (/;|:/.test(attribute) && !/url/.test(attribute)) { | ||
addError(no_colon_semicolon, attribute, line + key, file_name); | ||
@@ -221,3 +221,7 @@ } | ||
check_2 = attribute.match(/,\s/g); | ||
check_3 = attribute.match(/content/g); | ||
if ((check_1 != null ? check_1.length : void 0) !== (check_2 != null ? check_2.length : void 0)) { | ||
if (check_3) { | ||
continue; | ||
} | ||
addError(comma_space, attribute, line + key, file_name); | ||
@@ -224,0 +228,0 @@ } |
@@ -42,3 +42,3 @@ { | ||
}, | ||
"version": "1.7.4" | ||
"version": "1.7.5" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45431
699