cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/6] js commit: CB-9370 Changes jsdom dependency to avoid package installation issues
Date Fri, 30 Oct 2015 22:41:41 GMT
CB-9370 Changes jsdom dependency to avoid package installation issues


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/064b25a4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/064b25a4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/064b25a4

Branch: refs/heads/4.1.x
Commit: 064b25a40aab8fc2f210fdbb394d63c31e7d3e6d
Parents: 6a95d77
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Authored: Fri Aug 28 11:33:08 2015 +0300
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
Committed: Tue Sep 1 09:54:54 2015 +0300

----------------------------------------------------------------------
 package.json            | 5 ++---
 tasks/lib/test-jsdom.js | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/064b25a4/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 77f8de3..b98ffe5 100644
--- a/package.json
+++ b/package.json
@@ -67,10 +67,9 @@
     "grunt-contrib-jshint": "0.10.0",
     "istanbul": "^0.3.4",
     "jasmine-node": "1.14.5",
+    "jsdom-no-contextify": "^3.1.0",
     "mkdirp": "^0.5.0",
-    "node-jsdom": "~3.x",
-    "open": "0.0.5",
-    "through2": "^2.0.0"
+    "open": "0.0.5"
   },
   "dependencies": {
     "browserify": "10.1.3"

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/064b25a4/tasks/lib/test-jsdom.js
----------------------------------------------------------------------
diff --git a/tasks/lib/test-jsdom.js b/tasks/lib/test-jsdom.js
index 8762731..4aa60c3 100644
--- a/tasks/lib/test-jsdom.js
+++ b/tasks/lib/test-jsdom.js
@@ -26,7 +26,7 @@ var jas              = require('jasmine-node');
 var testLibName      = path.join(__dirname, '..', '..', 'pkg', 'cordova.test.js');
 var testLib          = fs.readFileSync(testLibName, 'utf8');
 
-var jsdom    = require("node-jsdom").jsdom;
+var jsdom    = require("jsdom-no-contextify").jsdom;
 var document = jsdom(undefined, { url: 'file:///jsdomtest.info/a?b#c' });
 var window   = document.parentWindow;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message