Skip to content

Instantly share code, notes, and snippets.

@aaronlerch
aaronlerch / 0_reuse_code.js
Created August 15, 2014 17:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
App.PushClient = Em.Object.extend
members: prop ->
Em.A()
connect: (key, userId) ->
return unless Pusher?
@pusher?.disconnect()
@pusher = new Pusher key,