1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+
5+ < meta charset ="utf-8 ">
6+
7+ < title > ::APP_TITLE::</ title >
8+
9+ < meta id ="viewport " name ="viewport " content ="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no " />
10+ < meta name ="mobile-web-app-capable " content ="yes ">
11+
12+ ::if favicons::::foreach (favicons)::
13+ < link rel ="::__current__.rel:: " type ="::__current__.type:: " href ="::__current__.href:: "> ::end::::end::
14+
15+ ::if linkedLibraries::::foreach (linkedLibraries)::
16+ < script type ="text/javascript " src ="::__current__:: "> </ script > ::end::::end::
17+ < script type ="text/javascript " src ="./::APP_FILE::.js "> </ script >
18+
19+ < script >
20+ window . addEventListener ( "touchmove" , function ( event ) { event . preventDefault ( ) ; } , { capture : false , passive : false } ) ;
21+ if ( typeof window . devicePixelRatio != 'undefined' && window . devicePixelRatio > 2 ) {
22+ var meta = document . getElementById ( "viewport" ) ;
23+ meta . setAttribute ( 'content' , 'width=device-width, initial-scale=' + ( 2 / window . devicePixelRatio ) + ', user-scalable=no' ) ;
24+ }
25+ </ script >
26+
27+ < style >
28+ html , body { margin : 0 ; padding : 0 ; height : 100% ; overflow : hidden; }
29+ # content { ::if (WIN_BACKGROUND)::background : # 000000; ::end ::width : ::if (WIN_RESIZABLE)::100%::elseif (WIN_WIDTH > 0)::::WIN_WIDTH ::px ::else ::100%::end ::; height: ::if (WIN_RESIZABLE)::100%::elseif (WIN_WIDTH > 0)::::WIN_HEIGHT ::px ::else ::100%::end ::; }
30+ ::foreach assets :: ::if (type = = "font"):: ::if (cssFontFace):: ::cssFontFace :: ::end :: ::end :: ::end ::
31+ </ style >
32+
33+ </ head >
34+ < body >
35+ ::foreach assets::::if (type == "font")::
36+ < span style ="font-family: ::id:: "> </ span > ::end::::end::
37+
38+ < div id ="content "> </ div >
39+
40+ < script type ="text/javascript ">
41+ lime . embed ( "::APP_FILE::" , "content" , ::WIN_WIDTH ::, ::WIN_HEIGHT ::) ;
42+ </ script >
43+
44+ </ body >
45+ </ html >
0 commit comments