Skip to content

Conversation

@0candy
Copy link
Contributor

@0candy 0candy commented Sep 16, 2016

Follow the new approach that's supported by strong-globalize since strongloop/strong-globalize#92.

@0candy 0candy self-assigned this Sep 16, 2016
@0candy 0candy added the #review label Sep 16, 2016
@0candy
Copy link
Contributor Author

0candy commented Sep 16, 2016

@bajtos PTAL

@0candy 0candy force-pushed the use_common_globalize branch from 586f6c2 to 10c4fd3 Compare September 16, 2016 19:38

var g = require('strong-globalize')();

var PersistedModel = require('../../lib/loopback').PersistedModel;
Copy link
Member

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
Copy link
Member

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?

@0candy 0candy force-pushed the use_common_globalize branch from 1327a23 to 5b1d919 Compare September 20, 2016 15:18
@0candy
Copy link
Contributor Author

0candy commented Sep 21, 2016

@bajtos Please review

Copy link
Member

@bajtos bajtos left a 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.

@bajtos bajtos force-pushed the use_common_globalize branch from 5b1d919 to 640f3a8 Compare September 22, 2016 09:58
@bajtos
Copy link
Member

bajtos commented Sep 22, 2016

loopback/node=0.10,os=windows — Failed! (640f3a8)

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)

@bajtos bajtos merged commit 54bf395 into master Sep 22, 2016
@bajtos bajtos deleted the use_common_globalize branch September 22, 2016 10:14
@bajtos bajtos removed the #review label Sep 22, 2016
@bajtos
Copy link
Member

bajtos commented Sep 22, 2016

I squashed the commits myself and landed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants