Comparing version 0.6.3 to 0.6.4
@@ -112,2 +112,3 @@ var http = require('http'), | ||
var timers = []; | ||
var cssSelectorSplitRE = /((?:[^,"']|"[^"]*"|'[^']*')+)/; | ||
@@ -255,6 +256,6 @@ function startTimer(startFn, stopFn, callback, ms) { | ||
var selectors = rule.selectorText.split(/\s*,\s*/); | ||
var selectors = rule.selectorText.split(cssSelectorSplitRE); | ||
var matched = false; | ||
selectors.forEach(function (selectorText) { | ||
if (!matched && matchesDontThrow(node, selectorText)) { | ||
if (selectorText !== '' && selectorText !== ',' && !matched && matchesDontThrow(node, selectorText)) { | ||
matched = true; | ||
@@ -261,0 +262,0 @@ forEach.call(rule.style, function (property) { |
@@ -1322,2 +1322,7 @@ var core = require("./core").dom.level2.core, | ||
proto: { | ||
_attrModified: function(name, value, oldVal) { | ||
if (name == 'src' && value !== oldVal) { | ||
core.resourceLoader.enqueue(this, function() {})(); | ||
} | ||
}, | ||
get src() { | ||
@@ -1324,0 +1329,0 @@ return core.resourceLoader.resolve(this._ownerDocument, this.getAttribute('src')); |
{ | ||
"name": "jsdom", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "A JavaScript implementation of the W3C DOM", | ||
@@ -5,0 +5,0 @@ "keywords": ["dom", "w3c", "html"], |
@@ -277,22 +277,22 @@ # jsdom | ||
``` | ||
level1/core 535/535 100% | ||
level1/html 238/238 100% | ||
level1/svg 527/527 100% | ||
level2/core 283/283 100% | ||
level2/html 706/706 100% | ||
level2/style 14/14 100% | ||
level2/extra 4/4 100% | ||
level2/events 24/24 100% | ||
level3/xpath 93/93 100% | ||
window/index 5/5 100% | ||
window/script 10/10 100% | ||
window/frame 16/16 100% | ||
sizzle/index 14/14 100% | ||
jsdom/index 89/89 100% | ||
jsdom/parsing 7/7 100% | ||
jsonp/jsonp 1/1 100% | ||
browser/contextifyReplacement 4/4 100% | ||
browser/index 34/34 100% | ||
level1/core 535/535 100% | ||
level1/html 238/238 100% | ||
level1/svg 527/527 100% | ||
level2/core 283/283 100% | ||
level2/html 706/706 100% | ||
level2/style 15/15 100% | ||
level2/extra 4/4 100% | ||
level2/events 24/24 100% | ||
level3/xpath 93/93 100% | ||
window/index 5/5 100% | ||
window/script 10/10 100% | ||
window/frame 16/16 100% | ||
sizzle/index 14/14 100% | ||
jsdom/index 89/89 100% | ||
jsdom/parsing 7/7 100% | ||
jsonp/jsonp 1/1 100% | ||
browser/contextifyReplacement 4/4 100% | ||
browser/index 34/34 100% | ||
------------------------------------------------------ | ||
TOTALS: 0/2604 failed; 100% success | ||
TOTALS: 0/2605 failed; 100% success | ||
``` | ||
@@ -299,0 +299,0 @@ |
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
349261
10138