You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/03/04 20:32:50 UTC

[86/91] [abbrv] git commit: Issue #31 --list error message

Issue #31 --list error message


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

Branch: refs/heads/master
Commit: 642a64e67bdcd08c2fb6e7c9ab3e473fa761cddc
Parents: 7061e48
Author: Anis Kadri <an...@gmail.com>
Authored: Tue Feb 19 15:36:02 2013 -0800
Committer: Anis Kadri <an...@gmail.com>
Committed: Tue Feb 19 15:36:02 2013 -0800

----------------------------------------------------------------------
 test/remote-test.js |    2 +-
 util/plugins.js     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/642a64e6/test/remote-test.js
----------------------------------------------------------------------
diff --git a/test/remote-test.js b/test/remote-test.js
index 27b8aa5..fcdc405 100644
--- a/test/remote-test.js
+++ b/test/remote-test.js
@@ -11,7 +11,7 @@ exports['should get plugin information from a remote source'] = function(test) {
 }
 
 exports['should list all plugins from a remote source'] = function(test) {
-    plugins.listAllPlugins('ChildBrowser', function(plugins) {
+    plugins.listAllPlugins(function(plugins) {
         test.ok(plugins != undefined);
         test.ok(plugins.length > 0);
         test.done();

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/642a64e6/util/plugins.js
----------------------------------------------------------------------
diff --git a/util/plugins.js b/util/plugins.js
index 51ef9f1..b179523 100644
--- a/util/plugins.js
+++ b/util/plugins.js
@@ -30,7 +30,7 @@ exports.getPluginInfo = function(plugin_name, success, error) {
     });
 }
 
-exports.listAllPlugins = function(plugin_name, success, error) {
+exports.listAllPlugins = function(success, error) {
     http.get(remote.url + remote.list_path, function(res) {
       var str = '';
       res.on('data', function (chunk) {