File tree Expand file tree Collapse file tree
src/graph-builder/graph-core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,42 +68,54 @@ class GraphServer extends GraphLoadSave {
6868 build ( ) {
6969 // TODO
7070 Axios . post ( `http://127.0.0.1:5000/build/sample?fetch=${ this . getGraphML ( ) } &apikey=${ this . id } ` )
71- . then ( ( ) => { } ) . catch ( ( err ) => { alert ( err ) ; } ) ;
71+ . then ( ( ) => { } ) . catch ( ( err ) => { // eslint-disable-next-line
72+ alert ( err ) ;
73+ } ) ;
7274 if ( this . serverID ) ;
7375 }
7476
7577 debug ( ) {
7678 // TODO
7779 Axios . post ( `http://127.0.0.1:5000/debug/${ this . getGraphML ( ) } ` )
78- . then ( ( ) => { } ) . catch ( ( err ) => { alert ( err ) ; } ) ;
80+ . then ( ( ) => { } ) . catch ( ( err ) => { // eslint-disable-next-line
81+ alert ( err ) ;
82+ } ) ;
7983 if ( this . serverID ) ;
8084 }
8185
8286 run ( ) {
8387 // TODO
8488 Axios . post ( 'http://127.0.0.1:5000/run/sample' )
85- . then ( ( ) => { } ) . catch ( ( err ) => { alert ( err ) ; } ) ;
89+ . then ( ( ) => { } ) . catch ( ( err ) => { // eslint-disable-next-line
90+ alert ( err ) ;
91+ } ) ;
8692 if ( this . serverID ) ;
8793 }
8894
8995 clear ( ) {
9096 // TODO
9197 Axios . post ( 'http://127.0.0.1:5000/clear/sample' )
92- . then ( ( ) => { } ) . catch ( ( err ) => { alert ( err ) ; } ) ;
98+ . then ( ( ) => { } ) . catch ( ( err ) => { // eslint-disable-next-line
99+ alert ( err ) ;
100+ } ) ;
93101 if ( this . serverID ) ;
94102 }
95103
96104 stop ( ) {
97105 // TODO
98106 Axios . post ( 'http://127.0.0.1:5000/stop/sample' )
99- . then ( ( ) => { } ) . catch ( ( err ) => { alert ( err ) ; } ) ;
107+ . then ( ( ) => { } ) . catch ( ( err ) => { // eslint-disable-next-line
108+ alert ( err ) ;
109+ } ) ;
100110 if ( this . serverID ) ;
101111 }
102112
103113 destroy ( ) {
104114 // TODO
105115 Axios . post ( 'http://127.0.0.1:5000/destroy/sample' )
106- . then ( ( ) => { } ) . catch ( ( err ) => { alert ( err ) ; } ) ;
116+ . then ( ( ) => { } ) . catch ( ( err ) => { // eslint-disable-next-line
117+ alert ( err ) ;
118+ } ) ;
107119 if ( this . serverID ) ;
108120 }
109121
You can’t perform that action at this time.
0 commit comments