Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- re-arrange files for namespacing, so everything starts jsdom*

  • Loading branch information...
commit 18197b4b8653959c4b14d569d7b8ba69b1e1f513 1 parent 11f5c7b
@aredridel aredridel authored
View
4 lib/jsdom.js
@@ -1,4 +1,4 @@
// TODO: add on other levels
-exports.dom = require(__dirname + "/level1/core").dom;
-exports.browserAugmentation = require(__dirname + "/browser").browserAugmentation;
+exports.dom = require("./jsdom/level1/core").dom;
+exports.browserAugmentation = require("./jsdom/browser").browserAugmentation;
View
0  lib/browser/domtohtml.js → lib/jsdom/browser/domtohtml.js
File renamed without changes
View
0  lib/browser/htmltodom.js → lib/jsdom/browser/htmltodom.js
File renamed without changes
View
0  lib/browser/index.js → lib/jsdom/browser/index.js
File renamed without changes
View
0  lib/level1/core.js → lib/jsdom/level1/core.js
File renamed without changes
View
2  lib/level2/core.js → lib/jsdom/level2/core.js
@@ -1,4 +1,4 @@
-var core = require(__dirname + "/../level1/core").dom.level1.core;
+var core = require("../level1/core").dom.level1.core;
core.INVALID_STATE_ERR = 11;
core.SYNTAX_ERR = 12
View
0  lib/level2/events.js → lib/jsdom/level2/events.js
File renamed without changes
View
0  lib/level2/html.js → lib/jsdom/level2/html.js
File renamed without changes
View
0  lib/level3/core.js → lib/jsdom/level3/core.js
File renamed without changes
View
0  lib/level3/events.js → lib/jsdom/level3/events.js
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.