node-modules: node_modules
node_modules:
- npm install jquery jsdom request jasmine-node
+ npm install jQuery xmlhttprequest jsdom request jasmine-node
help:
@echo "make [ all | check | clean | distclean ]"
*/
describe("jQuery suite simple", function () {
- var $ = require('jquery');
+ var $ = require('jQuery');
it("jQuery append test", function () {
$("body").append("<h1>test passes h1</h1>");
var jsdom = require('jsdom').jsdom;
var myWindow = jsdom().createWindow();
- var $ = require('jquery');
- var jq = require('jquery').create();
- var jQuery = require('jquery').create(myWindow);
+ var $ = require('jQuery');
+ var jq = require('jQuery').create();
+ var jQuery = require('jQuery').create(myWindow);
it("jQuery append test", function () {
jQuery("<h1>test passes h1</h1>").appendTo("body");
}).createWindow();
/* apply jquery to the window */
- var $ = require('jquery').create(window);
+ var $ = require('jQuery').create(window);
it("html jquery test", function () {