You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ka...@apache.org on 2014/06/18 17:14:39 UTC
git commit: CB-6954: Expose the unified events as cordova_lib.events
Repository: cordova-lib
Updated Branches:
refs/heads/master 8f880f5d3 -> fb41e644d
CB-6954: Expose the unified events as cordova_lib.events
After events got shared between cordova and plugman, some log messages were
printed multiple times since handlers were registered twice in the cli:
cordova.on(...)
plugman.on(...)
changing it to
events.on(...)
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/fb41e644
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/fb41e644
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/fb41e644
Branch: refs/heads/master
Commit: fb41e644d7d669d55baf2f20167b222e4907f72d
Parents: 8f880f5
Author: Mark Koudritsky <ka...@gmail.com>
Authored: Wed Jun 18 11:09:56 2014 -0400
Committer: Mark Koudritsky <ka...@gmail.com>
Committed: Wed Jun 18 11:14:14 2014 -0400
----------------------------------------------------------------------
cordova-lib/cordova-lib.js | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/fb41e644/cordova-lib/cordova-lib.js
----------------------------------------------------------------------
diff --git a/cordova-lib/cordova-lib.js b/cordova-lib/cordova-lib.js
index 61db83b..29d42e5 100644
--- a/cordova-lib/cordova-lib.js
+++ b/cordova-lib/cordova-lib.js
@@ -27,6 +27,7 @@ exports = module.exports = {
},
plugman: require('./src/plugman/plugman'),
cordova: require('./src/cordova/cordova'),
+ events: require('./src/events'),
configparser: require('./src/configparser/ConfigParser.js'),
cordova_platforms: require('./src/cordova/platforms'),
//// MAIN CORDOVA TOOLS API