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 39EC910F21 for ; Tue, 28 Jan 2014 01:00:56 +0000 (UTC) Received: (qmail 70725 invoked by uid 500); 28 Jan 2014 01:00:54 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 70588 invoked by uid 500); 28 Jan 2014 01:00:53 -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 70168 invoked by uid 99); 28 Jan 2014 01:00:51 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jan 2014 01:00:51 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4AF17907CE0; Tue, 28 Jan 2014 01:00:51 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: anis@apache.org To: commits@cordova.apache.org Date: Tue, 28 Jan 2014 01:00:52 -0000 Message-Id: In-Reply-To: <41a914fa645446178a4bb38f0db90283@git.apache.org> References: <41a914fa645446178a4bb38f0db90283@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/8] git commit: Native Tizen implementation of SplashScreen API. Native Tizen implementation of SplashScreen API. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/3a1810ba Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/3a1810ba Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/3a1810ba Branch: refs/heads/master Commit: 3a1810baa51b64dee93332365c7cb5592f0baf6e Parents: 9ebd08f Author: Salvatore Iovene Authored: Tue Nov 19 12:55:35 2013 +0200 Committer: Salvatore Iovene Committed: Tue Nov 19 12:55:35 2013 +0200 ---------------------------------------------------------------------- src/tizen/SplashScreenProxy.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/3a1810ba/src/tizen/SplashScreenProxy.js ---------------------------------------------------------------------- diff --git a/src/tizen/SplashScreenProxy.js b/src/tizen/SplashScreenProxy.js index 8d630f2..cd76a82 100644 --- a/src/tizen/SplashScreenProxy.js +++ b/src/tizen/SplashScreenProxy.js @@ -2,11 +2,15 @@ var exec = require('cordova/exec'); module.exports = { splashscreen: { + win: null, + show = function() { - exec(null, null, "SplashScreen", "show", []); + win= window.open('splashscreen.html'); }, + hide = function() { - exec(null, null, "SplashScreen", "hide", []); + win.close(); + win = null; } } };