-
Notifications
You must be signed in to change notification settings - Fork 72
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
Port to Node #61
Port to Node #61
Conversation
@@ -0,0 +1,5 @@ | |||
window.$ = window.jQuery = require "jquery" | |||
|
|||
$(window) |
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.
Does webpack
provide the window object?
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.
I'm not certain if this is correct, not got mobile to run yet to see how the webpack build works. We may not need this, as it should be running in the browser context
* Don't use coffee-script/helper when building in webpack * Only load WebSocket npm dep when in node env
Use `npm run build` to create production `firehose.js` file.
Moved everything over to https://github.com/firehoseio/js_client and published 1.0 |
Issue: #58
Still missing:
Sample usage:
Or, if referenced via package.json
Jasmine specs