File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ var app = require ( 'app' ) // Module to control application life.
2+ var BrowserWindow = require ( 'browser-window' ) // Module to create native browser window.
3+
4+ // Report crashes to our server.
5+ require ( 'crash-reporter' ) . start ( )
6+
7+ // Keep a global reference of the window object, if you don't, the window will
8+ // be closed automatically when the javascript object is GCed.
9+ var mainWindow = null
10+
11+ console . log ( process . platform )
12+ // Quit when all windows are closed.
13+ app . on ( 'window-all-closed' , function ( ) {
14+ if ( process . platform !== 'darwin' )
15+ app . quit ( )
16+ } )
17+ app . on ( 'ready' , function ( ) {
18+ mainWindow = new BrowserWindow ( { width : 800 , height : 600 } )
19+
20+ mainWindow . loadUrl ( 'file://' + __dirname + '/build/index.html' )
21+
22+ mainWindow . openDevTools ( )
23+
24+ mainWindow . on ( 'closed' , function ( ) {
25+ mainWindow = null
26+ } )
27+ } )
Original file line number Diff line number Diff line change 1+ # CodeXen app
2+
3+ Short code(Snippet/Templatefile/Command) storage + boosting service
4+
5+ ## Status
6+ v0.1 breakthru
7+
8+ ## Specs
9+ Web application
10+ Electron application
11+
12+ ## Using packages
13+ - AngularJS
14+ - Electron
Original file line number Diff line number Diff line change 66 < a type ="button " name ="button " dropdown-toggle class ="btn btn-sm btn-default dropdown-toggle "> < i class ="fa fa-caret-down "> </ i > </ a >
77 < ul class ="dropdown-menu ">
88 < li >
9- < a ng-click ="vm.signOut() "> < i class ="fa fa-signout "> </ i > Sign Out</ a >
9+ < a ng-click ="vm.signOut() "> < i class ="fa fa-sign-out "> </ i > Sign Out</ a >
1010 </ li >
1111 </ ul >
1212 </ span >
1313
1414 </ div >
1515 < div ng-if ="!vm.currentUser ">
1616 < span > Guest</ span >
17+
18+ < span class ="dropdown " dropdown is-open >
19+ < a type ="button " name ="button " dropdown-toggle class ="btn btn-sm btn-default dropdown-toggle "> < i class ="fa fa-caret-down "> </ i > </ a >
20+ < ul class ="dropdown-menu ">
21+ < li >
22+ < a ui-sref ="auth.signin "> < i class ="fa fa-sign-in "> </ i > Sign In</ a >
23+ </ li >
24+ < li >
25+ < a ui-sref ="auth.register "> < i class ="fa fa-user-plus "> </ i > Register</ a >
26+ </ li >
27+ </ ul >
28+ </ span >
1729 </ div >
1830</ div >
1931
You can’t perform that action at this time.
0 commit comments