You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2012/06/20 02:25:06 UTC
js commit: CB-883: SplashScreen without show() method, only hide()
Updated Branches:
refs/heads/master 8d25620f1 -> ba3e35835
CB-883: SplashScreen without show() method, only hide()
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/ba3e3583
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/ba3e3583
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/ba3e3583
Branch: refs/heads/master
Commit: ba3e35835307f11bd45b0e6336f23e0b30524fe3
Parents: 8d25620
Author: macdonst <si...@gmail.com>
Authored: Tue Jun 19 20:24:47 2012 -0400
Committer: macdonst <si...@gmail.com>
Committed: Tue Jun 19 20:24:47 2012 -0400
----------------------------------------------------------------------
lib/common/plugin/splashscreen.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/ba3e3583/lib/common/plugin/splashscreen.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/splashscreen.js b/lib/common/plugin/splashscreen.js
index 9de7c75..87f919a 100644
--- a/lib/common/plugin/splashscreen.js
+++ b/lib/common/plugin/splashscreen.js
@@ -1,6 +1,9 @@
var exec = require('cordova/exec');
var splashscreen = {
+ show:function() {
+ exec(null, null, "SplashScreen", "show", []);
+ },
hide:function() {
exec(null, null, "SplashScreen", "hide", []);
}