-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update globalization structure #2754
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
Conversation
|
@bajtos PTAL |
586f6c2 to
10c4fd3
Compare
|
|
||
| var g = require('strong-globalize')(); | ||
|
|
||
| var PersistedModel = require('../../lib/loopback').PersistedModel; |
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.
I think you have accidentally removed reference to PersistedModel. PTAL.
lib/globalize.js
Outdated
| var SG = require('strong-globalize'); | ||
|
|
||
| SG.SetRootDir(path.join(__dirname, '..'), { autonomousMsgLoading: 'all' }); | ||
| module.exports = SG(); No newline at end of file |
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.
No EOL at EOF, please fix. I thought eslint was configured to catch this, could you PTAL?
1327a23 to
5b1d919
Compare
|
@bajtos Please review |
bajtos
left a comment
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.
LGTM, please squash the commits before landing.
5b1d919 to
640f3a8
Compare
This failure is caused beuse PhantomJS cannot be started, I think it's ok to ignore. (see https://github.com/strongloop-internal/scrum-loopback/issues/1052) |
|
I squashed the commits myself and landed. |
Follow the new approach that's supported by strong-globalize since strongloop/strong-globalize#92.