Open ndg63276 opened 2 months ago
JIRA ticket: LIMS-1458
Summary:
We should try to decrease the number of JavaScript errors in the "JavaScript build, test and lint" job that runs on creation of a PR.
Changes:
this.attributes.FOO
this.get('FOO')
this.attributes.FOO = 'BAR'
this.set('FOO', 'BAR')
\:
Not done
Use this.$ instead of $ in views
Do not silence events
Do not access Object.prototype method 'hasOwnProperty' from target object
To test:
JIRA ticket: LIMS-1458
Summary:
We should try to decrease the number of JavaScript errors in the "JavaScript build, test and lint" job that runs on creation of a PR.
Changes:
this.attributes.FOO
tothis.get('FOO')
this.attributes.FOO = 'BAR'
tothis.set('FOO', 'BAR')
\:
Not done
Use this.$ instead of $ in views
- changing seems to break functionalityDo not silence events
- not sure what this doesDo not access Object.prototype method 'hasOwnProperty' from target object
- not sure how to fix thisTo test: