Request cleanup

This commit is contained in:
2014-07-29 20:25:42 +02:00
parent 7443d3b08b
commit 2d0e656c96
10 changed files with 25 additions and 10 deletions
@@ -2,7 +2,7 @@ root = exports ? this
root.Qsupplier=
watch_events: ->
faye = new Faye.Client(event_host)
faye.subscribe "/supplier/#{supplier_id}", (e)=>
faye.subscribe "/supplier/#{supplier_object.id}", (e)=>
console.log "Event: #{e.event}"
console.log e.data
if(e.event == 'new_order')