[all] [CB-4725] Export cordova version as "cordova.version"

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

Branch: refs/heads/ffos
Commit: e2942e162e1db06446d44d0b814ba450eb22a028
Parents: 0ab1d2b
Author: Andrew Grieve <[email protected]>
Authored: Tue Sep 3 09:42:54 2013 -0400
Committer: Andrew Grieve <[email protected]>
Committed: Tue Sep 3 09:43:13 2013 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/e2942e16/lib/cordova.js
----------------------------------------------------------------------
diff --git a/lib/cordova.js b/lib/cordova.js
index 77a1d23..d2c2294 100644
--- a/lib/cordova.js
+++ b/lib/cordova.js
@@ -92,6 +92,7 @@ function createEvent(type, data) {
 var cordova = {
     define:define,
     require:require,
+    version:CORDOVA_JS_BUILD_LABEL,
     /**
      * Methods to add/remove your own addEventListener hijacking on document + 
window.
      */

Reply via email to