You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/02/20 08:24:34 UTC

[1/2] bada commit: updating Device.cpp

updating Device.cpp


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

Branch: refs/heads/master
Commit: cfcd8a8150129d0911e3851d776db6de0dea76b9
Parents: 434e5ed
Author: Anis Kadri <an...@gmail.com>
Authored: Tue Feb 19 16:32:16 2013 -0800
Committer: Anis Kadri <an...@gmail.com>
Committed: Tue Feb 19 16:32:16 2013 -0800

----------------------------------------------------------------------
 src/Device.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-bada/blob/cfcd8a81/src/Device.cpp
----------------------------------------------------------------------
diff --git a/src/Device.cpp b/src/Device.cpp
index 50fb936..6158630 100755
--- a/src/Device.cpp
+++ b/src/Device.cpp
@@ -69,7 +69,7 @@ Device::SetDeviceInfo() {
 
     if(r == E_SUCCESS) {
     	String res;
-    	res.Format(1024, L"window.device={platform:'bada',version:'%S',name:'n/a',cordova:'2.4.0',uuid:'%S'}", platformVersion.GetPointer(), imei.GetPointer());
+    	res.Format(1024, L"window.device={platform:'bada',version:'%S',name:'n/a',uuid:'%S',cordova:'2.4.0'}", platformVersion.GetPointer(), imei.GetPointer());
     	//AppLogDebug("%S", res.GetPointer());
     	pWeb->EvaluateJavascriptN(res);
     }