File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 257
257
< a class ="dropdown-item action-fullscreen "
258
258
href ="# ">
259
259
< i class ="fa fa-fw fa-arrows-alt "> </ i >
260
- Fullscreen
260
+ Full screen
261
261
< span class ="navbar-help pull-right "> (ctrl+alt+f)</ span >
262
262
< span class ="clearfix "> </ span >
263
263
</ a >
Original file line number Diff line number Diff line change 1
1
( function ( ) {
2
2
3
- var runtime = function ( appWindow , isRestart ) {
3
+ var runtime = function ( appWindow , launchData , isRestart ) {
4
+ appWindow . contentWindow . launchData = launchData ;
4
5
appWindow . contentWindow . __MGA__bRestart = isRestart ;
5
6
} ;
6
7
15
16
id : "codepad-main"
16
17
} ,
17
18
function ( appWindow ) {
18
- runtime ( appWindow , false ) ;
19
- appWindow . contentWindow . launchData = launchData ;
19
+ runtime ( appWindow , launchData , false ) ;
20
+
20
21
}
21
22
) ;
22
23
} ) ;
23
24
24
- chrome . app . runtime . onRestarted . addListener ( function ( ) {
25
+ chrome . app . runtime . onRestarted . addListener ( function ( launchData ) {
25
26
chrome . app . window . create ( 'src/html/app.html' , {
26
27
innerBounds : { width : 1024 , height : 768 } ,
27
28
resizable : true ,
32
33
id : "codepad-main"
33
34
} ,
34
35
function ( appWindow ) {
35
- runtime ( appWindow , true ) ;
36
+ runtime ( appWindow , launchData , true ) ;
36
37
}
37
38
) ;
38
39
} ) ;
You can’t perform that action at this time.
0 commit comments