You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/09/09 17:23:38 UTC

android commit: [CB-4725] Add CordovaWebView.CORDOVA_VERSION constant

Updated Branches:
  refs/heads/master 5f7ce4b86 -> 80a09b8f3


[CB-4725] Add CordovaWebView.CORDOVA_VERSION constant

This used to be available as Device.cordovaVersion, but was broken in 3.0.


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

Branch: refs/heads/master
Commit: 80a09b8f36c351364a433fc0f33731cf52786fd2
Parents: 5f7ce4b
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Sep 9 11:22:18 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Sep 9 11:22:18 2013 -0400

----------------------------------------------------------------------
 framework/src/org/apache/cordova/CordovaWebView.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/80a09b8f/framework/src/org/apache/cordova/CordovaWebView.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java
index f798794..beb41ac 100755
--- a/framework/src/org/apache/cordova/CordovaWebView.java
+++ b/framework/src/org/apache/cordova/CordovaWebView.java
@@ -58,7 +58,10 @@ import android.widget.FrameLayout;
 
 public class CordovaWebView extends WebView {
 
+    
     public static final String TAG = "CordovaWebView";
+    
+    public static final String CORDOVA_VERSION = "3.1.0-dev";
 
     private ArrayList<Integer> keyDownCodes = new ArrayList<Integer>();
     private ArrayList<Integer> keyUpCodes = new ArrayList<Integer>();