[all] [CB-4725] Export cordova version as "cordova.version"
(cherry picked from commit e2942e162e1db06446d44d0b814ba450eb22a028)


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

Branch: refs/heads/2.9.x
Commit: 6e6ff82ff0f4381232d5c61c2f21b82af9671875
Parents: 257ab55
Author: Andrew Grieve <[email protected]>
Authored: Tue Sep 3 09:42:54 2013 -0400
Committer: Andrew Grieve <[email protected]>
Committed: Tue Oct 22 11:41:23 2013 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/6e6ff82f/lib/cordova.js
----------------------------------------------------------------------
diff --git a/lib/cordova.js b/lib/cordova.js
index c6a37fd..7c717dd 100644
--- a/lib/cordova.js
+++ b/lib/cordova.js
@@ -113,6 +113,7 @@ if(typeof window.console.warn === "undefined") {
 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