cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [4/4] git commit: Fix tests after adding dependencies.
Date Fri, 10 May 2013 18:39:12 GMT
Fix tests after adding dependencies.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/39d6f793
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/39d6f793
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/39d6f793

Branch: refs/heads/dependencies
Commit: 39d6f79379558024317f906c5bae0132b835703a
Parents: 6b9932f
Author: Braden Shepherdson <braden.shepherdson@gmail.com>
Authored: Thu May 9 14:41:44 2013 -0400
Committer: Braden Shepherdson <braden.shepherdson@gmail.com>
Committed: Thu May 9 14:41:44 2013 -0400

----------------------------------------------------------------------
 src/install.js           |    3 ++-
 src/uninstall.js         |    3 ++-
 src/util/dependencies.js |    1 +
 3 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/39d6f793/src/install.js
----------------------------------------------------------------------
diff --git a/src/install.js b/src/install.js
index d7f8c46..37d789c 100644
--- a/src/install.js
+++ b/src/install.js
@@ -1,7 +1,8 @@
 var path = require('path'),
     fs   = require('fs'),
     et   = require('elementtree'),
-    config_changes = require('./util/config-changes');
+    config_changes = require('./util/config-changes'),
+    dependencies = require('./util/dependencies'),
     platform_modules = require('./platforms');
 
 // TODO: is name necessary as a param ehre?

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/39d6f793/src/uninstall.js
----------------------------------------------------------------------
diff --git a/src/uninstall.js b/src/uninstall.js
index c2db2e2..35838ca 100644
--- a/src/uninstall.js
+++ b/src/uninstall.js
@@ -1,7 +1,8 @@
 var path = require('path'),
     fs   = require('fs'),
     et   = require('elementtree'),
-    config_changes = require('./util/config-changes');
+    config_changes = require('./util/config-changes'),
+    platform_modules = require('./platforms');
 
 module.exports = function uninstallPlugin(platform, project_dir, name, plugins_dir, cli_variables,
www_dir, callback) {
     if (!platform_modules[platform]) {

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/39d6f793/src/util/dependencies.js
----------------------------------------------------------------------
diff --git a/src/util/dependencies.js b/src/util/dependencies.js
index 381fdf0..9f7a594 100644
--- a/src/util/dependencies.js
+++ b/src/util/dependencies.js
@@ -1,5 +1,6 @@
 var install = require('../install'),
     fetch   = require('../fetch'),
+    path    = require('path'),
     fs      = require('fs'),
     xml_helpers = require('./xml-helpers');
 


Mime
View raw message