brzpegasus / ember-cli-nwjs

An addon for building desktop apps with Ember and NW.js
MIT License
125 stars 17 forks source link

Fix NW configuration for Ember 1.13.x #38

Closed brzpegasus closed 9 years ago

brzpegasus commented 9 years ago

Ember 1.13.x checks for the existence of process to determine if it is running in Node (probably for Fastboot). This can result in errors trying to load an Ember app in NW.js.

Changes:

rwjblue commented 9 years ago

I'd kinda like to fix this in Ember itself also. I believe there is an open issue in the Ember repo for it (can't recall from whom though).

brzpegasus commented 9 years ago

@rwjblue Ah, yes, it must be this issue. Having it fixed in Ember would definitely be great. I wonder if in addition to verifying that process exists, we should also verify that window does not, before concluding we're in Node.

rwjblue commented 9 years ago

Sounds great, would you mind testing that out locally and submitting a pull request to Ember?

brzpegasus commented 9 years ago

:+1:

brzpegasus commented 9 years ago

Pull requests that address this issue: