Skip to content

Added el localization#260

Merged
BenjaminVanRyseghem merged 1 commit intoBenjaminVanRyseghem:developfrom
gwynjudd:el
Mar 29, 2017
Merged

Added el localization#260
BenjaminVanRyseghem merged 1 commit intoBenjaminVanRyseghem:developfrom
gwynjudd:el

Conversation

@gwynjudd
Copy link
Copy Markdown

No description provided.

Comment thread Gruntfile.js Outdated
if (prop.indexOf('-') < 0) {
return 'exports.' + prop + ' = require(\'./' + file + '\');';
} else {
return 'exports[\'' + prop + '\'] = require(\'./' + file + '\');';
Copy link
Copy Markdown
Owner

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?

Copy link
Copy Markdown
Author

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

@BenjaminVanRyseghem
Copy link
Copy Markdown
Owner

can you remove the commit "Disable jshint "sub" rule for index.js" from this PR?

@gwynjudd
Copy link
Copy Markdown
Author

@BenjaminVanRyseghem it is done, please note without that other commit you may see this build error:

Running "jshint:all" (jshint) task
   languages/index.js
      7 |exports['el'] = require('./el.js');
                ^ ['el'] is better written in dot notation.
>> 1 error in 47 files
Warning: Task "jshint:all" failed. Use --force to continue.
Aborted due to warnings.

@BenjaminVanRyseghem BenjaminVanRyseghem merged commit ef498d0 into BenjaminVanRyseghem:develop Mar 29, 2017
@gwynjudd gwynjudd deleted the el branch March 29, 2017 20:35
@BenjaminVanRyseghem
Copy link
Copy Markdown
Owner

in numbro 1.11.0

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.

2 participants