Skip to content
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

Fix 'BEMJSON_JS_CODE_REGEXP' for Windows OS #11

Merged
merged 2 commits into from
Dec 3, 2014
Merged

Fix 'BEMJSON_JS_CODE_REGEXP' for Windows OS #11

merged 2 commits into from
Dec 3, 2014

Conversation

eGavr
Copy link
Contributor

@eGavr eGavr commented Dec 3, 2014

Line break is \r\n for Windows OS.

* Line break is '\r\n' for Windows OS.
*/
function _getLineBreak() {
return path.sep === '\/' ? '\n' : '\r\n';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Почему просто не записать в переменную, вместо функции?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@eGavr eGavr force-pushed the windows-fix branch 2 times, most recently from 6b0a60a to 0af5200 Compare December 3, 2014 20:12
@blond
Copy link
Member

blond commented Dec 3, 2014

Спасибо! =)

blond pushed a commit that referenced this pull request Dec 3, 2014
Fix 'BEMJSON_JS_CODE_REGEXP' for Windows OS
@blond blond merged commit 46d4f5f into master Dec 3, 2014
@blond blond deleted the windows-fix branch December 3, 2014 20:19
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.

None yet

2 participants