Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FACED2FC for ; Fri, 17 May 2013 14:22:19 +0000 (UTC) Received: (qmail 11408 invoked by uid 500); 17 May 2013 14:22:19 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 11305 invoked by uid 500); 17 May 2013 14:22:19 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 10818 invoked by uid 99); 17 May 2013 14:22:12 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 14:22:12 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 02B0737480; Fri, 17 May 2013 14:22:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pplaquette@apache.org To: commits@cordova.apache.org Date: Fri, 17 May 2013 14:22:16 -0000 Message-Id: <2b693ed540cf45e4b154175cee0a3dc4@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [06/21] js commit: [Tizen, Tien SDK 2.0 (Magnolia)] [Tizen, Tien SDK 2.0 (Magnolia)] adapt to new sdk System Info API where changed now the information is obtained threaw a synchronous call, getCapabilities() returning a SystemInfoDeviceCapability variable name is deprecated device version = deviceCapabilities.platformVersion; device uuid = deviceCapabilities.duid; device model = deviceCapabilities.platformName; Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/4ad9875c Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/4ad9875c Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/4ad9875c Branch: refs/heads/master Commit: 4ad9875c1739e7f91e751505c20a397dd91f293d Parents: 3a386e5 Author: pplaquette Authored: Wed Apr 17 11:25:35 2013 +0200 Committer: pplaquette Committed: Fri Apr 19 11:07:14 2013 +0200 ---------------------------------------------------------------------- lib/tizen/plugin/tizen/Device.js | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-js/blob/4ad9875c/lib/tizen/plugin/tizen/Device.js ---------------------------------------------------------------------- diff --git a/lib/tizen/plugin/tizen/Device.js b/lib/tizen/plugin/tizen/Device.js index 6c80f92..ae63d38 100644 --- a/lib/tizen/plugin/tizen/Device.js +++ b/lib/tizen/plugin/tizen/Device.js @@ -32,10 +32,8 @@ function Device() { this.model = null; this.cordova = "2.5.0"; this.platform = "Tizen"; - - this.getDeviceInfo() - + this.getDeviceInfo(); } Device.prototype.getDeviceInfo = function() { @@ -53,8 +51,6 @@ Device.prototype.getDeviceInfo = function() { else { console.log("error initializing cordova: "); } - - }; module.exports = new Device();