cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kam...@apache.org
Subject git commit: Expose PluginInfo from cordova-lib
Date Mon, 27 Oct 2014 14:51:41 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master a2165e2f2 -> ad35ab6be


Expose PluginInfo from cordova-lib

Usage example to get a list of installed plugins:
var plugins = cordova_lib.PluginInfo.loadPluginsDir('plugins');
var pluginIds = underscore.pluck(plugins, 'id');


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

Branch: refs/heads/master
Commit: ad35ab6be4e26ea45a26ed1e0e898af1dd63123a
Parents: a2165e2
Author: Mark Koudritsky <kamrik@gmail.com>
Authored: Mon Oct 27 10:37:04 2014 -0400
Committer: Mark Koudritsky <kamrik@gmail.com>
Committed: Mon Oct 27 10:37:04 2014 -0400

----------------------------------------------------------------------
 cordova-lib/cordova-lib.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/ad35ab6b/cordova-lib/cordova-lib.js
----------------------------------------------------------------------
diff --git a/cordova-lib/cordova-lib.js b/cordova-lib/cordova-lib.js
index 29d42e5..453bffc 100644
--- a/cordova-lib/cordova-lib.js
+++ b/cordova-lib/cordova-lib.js
@@ -31,6 +31,7 @@ exports = module.exports = {
     configparser: require('./src/configparser/ConfigParser.js'),
     cordova_platforms: require('./src/cordova/platforms'),
     ////  MAIN CORDOVA TOOLS API
+    PluginInfo: require('./src/PluginInfo'),
     CordovaError: require('./src/CordovaError')
 }
 


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


Mime
View raw message