From: Wolfram Schneider Date: Fri, 3 Jan 2014 17:35:20 +0000 (+0000) Subject: Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws X-Git-Tag: 1.0.0~1748 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=885380e6a0107e77cbe404a7c36034b977bca46d;hp=3291f612c408e68aaf901f1f5d9eb1c85a1b7d97;p=mkws-moved-to-github.git Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws --- diff --git a/test/Makefile b/test/Makefile index e434e05..c47ab00 100644 --- a/test/Makefile +++ b/test/Makefile @@ -23,7 +23,7 @@ jsbeautifier jsb indent: 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 ]" diff --git a/test/spec/jquery.spec.js b/test/spec/jquery.spec.js index 2f3baa8..1f473c9 100644 --- a/test/spec/jquery.spec.js +++ b/test/spec/jquery.spec.js @@ -5,7 +5,7 @@ */ describe("jQuery suite simple", function () { - var $ = require('jquery'); + var $ = require('jQuery'); it("jQuery append test", function () { $("body").append("

test passes h1

"); diff --git a/test/spec/jsdom.spec.js b/test/spec/jsdom.spec.js index 725d052..c83809a 100644 --- a/test/spec/jsdom.spec.js +++ b/test/spec/jsdom.spec.js @@ -8,9 +8,9 @@ describe("jQuery suite", function () { 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("

test passes h1

").appendTo("body"); diff --git a/test/spec/mkws-index-jsdom.spec.js b/test/spec/mkws-index-jsdom.spec.js index 8ed7993..471c03e 100644 --- a/test/spec/mkws-index-jsdom.spec.js +++ b/test/spec/mkws-index-jsdom.spec.js @@ -26,7 +26,7 @@ function jsdom_check(file, tags_array, ignore_doctype) { }).createWindow(); /* apply jquery to the window */ - var $ = require('jquery').create(window); + var $ = require('jQuery').create(window); it("html jquery test", function () {