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

hack electron env #13

Merged
merged 4 commits into from
May 23, 2016
Merged

hack electron env #13

merged 4 commits into from
May 23, 2016

Conversation

awinogradov
Copy link
Contributor

No description provided.

@awinogradov
Copy link
Contributor Author

@blond trouble with deps in travis

@@ -38,7 +38,7 @@ module.exports = require('enb/lib/build-flow').create()
.builder(function(preTargetSource) {
return vowFs.read(this._modulesFile, 'utf8').then(function(modulesRes) {
return modulesRes +
"if(typeof module !== 'undefined') {" +
"if(window === 'undefined' && typeof module !== 'undefined') {" +
Copy link

Choose a reason for hiding this comment

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

typeof window === 'undefined'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@zxqfox done

@@ -38,7 +38,7 @@ module.exports = require('enb/lib/build-flow').create()
.builder(function(preTargetSource) {
return vowFs.read(this._modulesFile, 'utf8').then(function(modulesRes) {
return modulesRes +
"if(typeof module !== 'undefined') {" +
"if(typeof window === 'undefined' && typeof module !== 'undefined') {" +
Copy link

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.

@zxqfox добавил

@qfox
Copy link

qfox commented May 18, 2016

Кроме коммента, LGTM

@tadatuta
Copy link
Member

techs/prepend-modules.js: line 41, col 127, Line is too long

и коммиты бы посквошить

@awinogradov
Copy link
Contributor Author

@tadatuta 😉
screenshot 2016-05-18 23 54 26

@qfox
Copy link

qfox commented May 19, 2016

Latest commit 1676627 on Jul 14, 2014 @dfilatov dfilatov Update CHANGELOG.md

Do we have maintainer for this package?

/cc @blond @tadatuta

@tadatuta
Copy link
Member

I vote for @blond ;)

@blond blond merged commit 4f18318 into enb:master May 23, 2016
@blond
Copy link
Member

blond commented May 23, 2016

@awinogradov 👍

@awinogradov
Copy link
Contributor Author

@blond version?)

@blond
Copy link
Member

blond commented May 23, 2016

Fixed in v0.3.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.

4 participants