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 */
22
33import { Tooltip } from 'bootstrap' ;
44import View from './view' ;
@@ -71,4 +71,12 @@ export default class Controller {
7171 }
7272 throw new Error ( `Controller: Class ${ C . name } is not a controller` ) ;
7373 }
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+ }
7482}
Original file line number Diff line number Diff line change 11{
22 "name" : " @djthorpe/js-framework" ,
3- "version" : " 0.0.22 " ,
3+ "version" : " 0.0.23 " ,
44 "description" : " Javascript Framework" ,
55 "main" : " dist/js/index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments