Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
加入图片缓存支持
Browse files Browse the repository at this point in the history
  • Loading branch information
MerrickZ committed Jan 14, 2014
1 parent 2efe2a3 commit c9fe976
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/www/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="false" />
<preference name="WebSecurity" value="disable"/>
<preference name="AutoHideSplashScreen" value="false" />

<rim:splash src="img/splash-1280x768.png"/>
<rim:splash src="img/splash-1280x720.png"/>
Expand Down
2 changes: 2 additions & 0 deletions src/www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var app = {
// function, we must explicity call 'app.receivedEvent(...);'
onDeviceReady: function() {
//app.checkPlugin();
navigator.splashscreen.show();
app.receivedEvent('deviceready');
},
// Update DOM on a Received Event
Expand Down Expand Up @@ -83,6 +84,7 @@ var app = {
document.body.style['background-color'] = darkScreenColor;
document.body.style['color'] = 'white';
}
navigator.splashscreen.hide();
bb.pushScreen('main.html', 'menu');
}
};
Expand Down

0 comments on commit c9fe976

Please sign in to comment.