-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js.bak
39 lines (32 loc) · 962 Bytes
/
index.js.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/***preloading */
//loading
//if(screen.orientation)screen.orientation.lock('portrait');
tabris.ui.set("background", "#317d46");
tabris.ui.set("displayMode", "fullscreen");
tabris.ui.set("toolbarVisible", false);
var loading_ = new tabris.Page({id:"pagino",
topLevel: true,
class: "swish_background"
}).open();
//
//
var imgLoad = new tabris.ImageView({
image: {
src: "./images/ayat_logo.png",
scaleMode: "auto",
width:180
},
centerX: 0,
centerY: 0
}).appendTo(loading_)
//var startAyat = require('./app.js');
//
setTimeout(function() {
require('./app.js')(loading_)
//tabris.ui.set("displayMode", "normal");
//tabris.ui.set("toolbarVisible", true);
// tabrisBg();
//console.log("disposed loading")
//if(isNetworkConnected())console.error("conected yes"); else console.error("no connect")
//err(tabris.device.get("connectionType"))
}, 1000);