jasmine-dom-spec
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "jasmine-dom-spec", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"authors": [ | ||
@@ -5,0 +5,0 @@ "Mickael Jeanroy" |
@@ -526,2 +526,13 @@ /** | ||
/** | ||
* Turn a `string` to a lower case string. | ||
* If the argument is not a `string`, it is automatically returned. | ||
* | ||
* @param {*} value Value to turn to a lower case string. | ||
* @return {*} The lower case string, or the argument if it is not a string. | ||
*/ | ||
function toLower(value) { | ||
return isString(value) ? value.toLowerCase() : value; | ||
} | ||
var _trim = String.prototype.trim; | ||
@@ -1233,3 +1244,3 @@ | ||
var actualTagName = node.tagName; | ||
var ok = equals(actualTagName, tagName); | ||
var ok = equals(toLower(actualTagName), toLower(tagName)); | ||
@@ -1236,0 +1247,0 @@ return { |
{ | ||
"name": "jasmine-dom-spec", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "DOM Matchers and assertions for Jasmine framework", | ||
@@ -5,0 +5,0 @@ "main": "dist/jasmine-dom-spec.js", |
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
55121
1218