- 
                Notifications
    You must be signed in to change notification settings 
- Fork 26
update models #432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
update models #432
Conversation
| @@ -0,0 +1,17 @@ | |||
| 'use strict'; | |||
|  | |||
| var BaseModel = require('model-toolkit').BaseModel; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'require' is not defined.
|  | ||
| var BaseModel = require('model-toolkit').BaseModel; | ||
|  | ||
| module.exports = class WorkingHoursStandard extends BaseModel { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'class' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'module' is not defined.
| @@ -0,0 +1,17 @@ | |||
| 'use strict'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the function form of "use strict".
| data.should.have.property('items'); | ||
| data.items.should.instanceof(Array); | ||
|  | ||
| for (var item of data.items) { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'for of' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
| 'use strict'; | ||
| var BaseModel = require('model-toolkit').BaseModel; | ||
| var Unit = require('../master/unit'); | ||
| var Week = require('./weekly-plan-item'); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'require' is not defined.
| var BaseModel = require('model-toolkit').BaseModel; | ||
|  | ||
|  | ||
| module.exports = class Style extends BaseModel { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'class' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'module' is not defined.
| @@ -0,0 +1,14 @@ | |||
| 'use strict'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the function form of "use strict".
| @@ -0,0 +1,21 @@ | |||
| 'use strict'; | |||
| var BaseModel = require('model-toolkit').BaseModel; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'require' is not defined.
| 'use strict'; | ||
| var BaseModel = require('model-toolkit').BaseModel; | ||
|  | ||
| module.exports = class WeeklyPlanItem extends BaseModel { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'class' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'module' is not defined.
| @@ -0,0 +1,21 @@ | |||
| 'use strict'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the function form of "use strict".
update models
update models