We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 726f47b commit 23c538fCopy full SHA for 23c538f
test/common.js
@@ -2,6 +2,7 @@
2
var test = require("unit.js"),
3
fs = require("fs"),
4
jsdom = require("jsdom"),
5
+ esprima = require("esprima"),
6
html = fs.readFileSync(__dirname + "/test.html"),
7
common = {
8
getDocument: function () {
@@ -13,7 +14,7 @@ var test = require("unit.js"),
13
14
getjQuery: function (window) {
15
var window = window || common.getWindow(),
16
jQuery = require("jquery")(window),
- pluginCreator = require(__dirname + "/../js/jquery.plugincreator.js")(jQuery);
17
+ pluginCreator = require(__dirname + "/../js/jquery.plugincreator.js")(jQuery, esprima);
18
return jQuery;
19
}
20
};
0 commit comments