added in variable support back in

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

Branch: refs/heads/future
Commit: 9383c7b046724440cf30c1737343a054fca38d99
Parents: b23eeb1
Author: Tim Kim <[email protected]>
Authored: Fri Apr 12 13:42:21 2013 -0700
Committer: Tim Kim <[email protected]>
Committed: Fri Apr 12 13:42:21 2013 -0700

----------------------------------------------------------------------
 platforms/ios.js |    1 -
 plugman.js       |    6 ++----
 2 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/9383c7b0/platforms/ios.js
----------------------------------------------------------------------
diff --git a/platforms/ios.js b/platforms/ios.js
index a39ddd4..99769a0 100644
--- a/platforms/ios.js
+++ b/platforms/ios.js
@@ -165,7 +165,6 @@ exports.handlePlugin = function (action, project_dir, 
plugin_dir, plugin_et, var
             weak = framework.attrib['weak'];
         if (action == 'install') {
             var opt = { weak: (weak && weak.toLowerCase() == 'true') };
-            console.log(src + ' ' + opt.weak);
             xcodeproj.addFramework(src, opt);
         } else {
             xcodeproj.removeFramework(src);

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/9383c7b0/plugman.js
----------------------------------------------------------------------
diff --git a/plugman.js b/plugman.js
index fa2e33b..9010dfd 100755
--- a/plugman.js
+++ b/plugman.js
@@ -191,8 +191,7 @@ function removePlugin(name) {
     console.log('Plugin ' + cli_opts.plugin + ' deleted.');
 }
 
-// function handlePlugin(action, platform, project_dir, plugin_dir, 
cli_variables) 
-function handlePlugin(action, platform, project_dir, name) {
+function handlePlugin(action, platform, project_dir, name, cli_variables) {
     var plugin_xml_path, async;
 
     // Check that the plugin has already been fetched.
@@ -207,8 +206,7 @@ function handlePlugin(action, platform, project_dir, name) {
         async = true;
         plugins.getPluginInfo(plugin_dir,
             function(plugin_info) {
-                execAction(action, platform, project_dir, 
plugins.clonePluginGitRepo(plugin_info.url), plugins_dir);
-                //execAction(action, platform, project_dir, 
plugins.clonePluginGitRepo(plugin_info.url), cli_variables);
+                execAction(action, platform, project_dir, 
plugins.clonePluginGitRepo(plugin_info.url), plugins_dir, cli_variables);
             },
             function(e) {
                 throw new Error(action + ' failed. "' + plugin_xml_path + '" 
not found');

Reply via email to