File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
- // Controller class to be subclassed by an actual controller
1
+ /* eslint-disable class-methods-use-this */
2
2
3
3
import { Tooltip } from 'bootstrap' ;
4
4
import View from './view' ;
@@ -71,4 +71,12 @@ export default class Controller {
71
71
}
72
72
throw new Error ( `Controller: Class ${ C . name } is not a controller` ) ;
73
73
}
74
+
75
+ /**
76
+ * Run your application. This function does nothing in the default implementation
77
+ * and you are expected to subclass it.
78
+ */
79
+ main ( ) {
80
+
81
+ }
74
82
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @djthorpe/js-framework" ,
3
- "version" : " 0.0.22 " ,
3
+ "version" : " 0.0.23 " ,
4
4
"description" : " Javascript Framework" ,
5
5
"main" : " dist/js/index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments