You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2013/05/16 17:57:06 UTC

[07/20] git commit: Fix tests after adding dependencies.

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/8d0e95d2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/8d0e95d2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/8d0e95d2

Branch: refs/heads/master
Commit: 8d0e95d22e70d9e3c58079f14b297d7c35736ce9
Parents: 67f59c9
Author: Braden Shepherdson <br...@gmail.com>
Authored: Thu May 9 14:41:44 2013 -0400
Committer: Fil Maj <ma...@gmail.com>
Committed: Thu May 16 08:53:19 2013 -0700

----------------------------------------------------------------------
 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/8d0e95d2/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/8d0e95d2/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/8d0e95d2/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');