You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should 'use strict'; in all our .js files.
When I reformatted that files to comply with our code style, I tried to make them strict, but project object was not found because it is declared inside a closure and strict forced it to be local.
One posible solution is manage to put project on an Angular Service or similar, to make it global to our Angular components.
The text was updated successfully, but these errors were encountered:
We should
'use strict';
in all our.js
files.When I reformatted that files to comply with our code style, I tried to make them strict, but
project
object was not found because it is declared inside a closure and strict forced it to be local.One posible solution is manage to put
project
on an Angular Service or similar, to make it global to our Angular components.The text was updated successfully, but these errors were encountered: