lucassp/pubnub-api — comment on commit 57aeedf60e3aa8f8c4539fa7e6f995637fdd6674
File:  line 0
By stephenlb:

Testing attachment of file.

On Sat, Feb 11, 2012 at 1:01 PM, Lucian Pacurar <
reply@reply.github.com
> wrote:

> Hi Stephen. No extra config is needed for this. You just need to "require"
> the module in the app.
>
> ```javascript
> var PUBNUB = require('pubnub');
> var myPubNub = PUBNUB.init({
> publish_key : 'demo',
> subscribe_key : 'demo',
> ssl : false,
> origin : 'pubsub.pubnub.com'
> });
> ```
> This works for me, but it might not be the best way to do it :)
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/lucassp/pubnub-api/commit/57aeedf60e3aa8f8c4539fa7e6f995637fdd6674#commitcomment-956989
>

--
Cheers!
Stephen Blum
http://twitter.com/PubNub
https://github.com/pubnub/pubnub-api - GitHub
www.pubnub.com
+1-425-830-6711