You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems very similar to #313. There are BOM in 2 of jsdom's files, but in particular one is not getting caught -- the bom in jsdom/lib/jsdom/browser/Window.js
Steps to duplicate on OSX 10.9.5
npm install [email protected][email protected]
ed index.js
i
var jsdom = require('jsdom').jsdom
.
wq
./node_modules/browserify/bin/cmd.js index.js -o bundle.js
Look at line 7698 in bundle.js with vim
},{"./jsdom/browser/documentfeatures":42,"./jsdom/browser/domtohtml":43,"./jsdom/browser/index":46,"./jsdom/living":65,"./jsdom/utils":71,"./jsdom/virtual-console":72,"_process":18,"fs":2,"path":17,"request":73,"url":36}],40:[function(require,module,exports){(function(process,global){<feff>"use strict";
var URL = require("url");
var CSSStyleDeclaration = require("cssstyle").CSSStyleDeclaration;
var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;
var dom = require("../level1/core");
var NOT_IMPLEMENTED = require("./utils").NOT_IMPLEMENTED;
var createFrom = require("../utils").createFrom;
var History = require("./history");
var VirtualConsole = require("../virtual-console");
var cssSelectorSplitRE = /((?:[^,"']|"[^"]*"|'[^']*')+)/;
function matchesDontThrow(el, selector) {try{returnel.matches(selector);}catch(e){
return false;}}
The text was updated successfully, but these errors were encountered:
This seems very similar to #313. There are BOM in 2 of
jsdom
's files, but in particular one is not getting caught -- the bom in jsdom/lib/jsdom/browser/Window.jsSteps to duplicate on OSX 10.9.5
Look at line 7698 in bundle.js with
vim
The text was updated successfully, but these errors were encountered: