Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54CC99173 for ; Mon, 7 May 2012 16:11:34 +0000 (UTC) Received: (qmail 87404 invoked by uid 500); 7 May 2012 16:11:34 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 87359 invoked by uid 500); 7 May 2012 16:11:34 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 87344 invoked by uid 99); 7 May 2012 16:11:34 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 16:11:34 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id D568E14753; Mon, 7 May 2012 16:11:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: macdonst@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [3/3] js commit: Adding SplashScreen plugin Message-Id: <20120507161133.D568E14753@tyr.zones.apache.org> Date: Mon, 7 May 2012 16:11:33 +0000 (UTC) Adding SplashScreen plugin Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/06c3a476 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/06c3a476 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/06c3a476 Branch: refs/heads/master Commit: 06c3a476e3f8c28a4364bbe56b0453d7b221377f Parents: 4c1f4dc Author: macdonst Authored: Wed Apr 25 13:38:25 2012 -0400 Committer: macdonst Committed: Wed Apr 25 13:38:25 2012 -0400 ---------------------------------------------------------------------- lib/common/common.js | 3 +++ lib/common/plugin/splashscreen.js | 9 +++++++++ 2 files changed, 12 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/06c3a476/lib/common/common.js ---------------------------------------------------------------------- diff --git a/lib/common/common.js b/lib/common/common.js index e07bf03..7480ed9 100644 --- a/lib/common/common.js +++ b/lib/common/common.js @@ -44,6 +44,9 @@ module.exports = { path: 'cordova/plugin/network' } } + }, + splashscreen: { + path: 'cordova/plugin/splashscreen' } } }, http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/06c3a476/lib/common/plugin/splashscreen.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/splashscreen.js b/lib/common/plugin/splashscreen.js new file mode 100644 index 0000000..9de7c75 --- /dev/null +++ b/lib/common/plugin/splashscreen.js @@ -0,0 +1,9 @@ +var exec = require('cordova/exec'); + +var splashscreen = { + hide:function() { + exec(null, null, "SplashScreen", "hide", []); + } +}; + +module.exports = splashscreen; \ No newline at end of file