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
Added el localization #260
Conversation
Gruntfile.js
Outdated
if (prop.indexOf('-') < 0) { | ||
return 'exports.' + prop + ' = require(\'./' + file + '\');'; | ||
} else { | ||
return 'exports[\'' + prop + '\'] = require(\'./' + 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.
can you explain why?
because to me the only difference I see here is that now it does
exports.el
instead of
exports['el']
while both are equivalent.
Am I missing something?
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.
It is because of the jshint rule that forbids it (in jshint, search for "sub"). I have fixed it another way
can you remove the commit "Disable jshint "sub" rule for index.js" from this PR? |
@BenjaminVanRyseghem it is done, please note without that other commit you may see this build error:
|
in numbro 1.11.0 |
No description provided.