Removed debugging info.

This commit is contained in:
Martin Edenhofer 2014-05-16 13:39:59 +02:00
parent 8191f402f3
commit addd6633f0

View file

@ -188,7 +188,7 @@ class App.Model extends Spine.Model
App[ @constructor.className ].bind( App[ @constructor.className ].bind(
'refresh change' 'refresh change'
(item) => (item) =>
console.log('BIND', item) #console.log('BIND', item)
for key, callback of App[ @constructor.className ]['SUBSCRIPTION_ITEM'][ item.id ] for key, callback of App[ @constructor.className ]['SUBSCRIPTION_ITEM'][ item.id ]
item = App[ @constructor.className ]._fillUp( item ) item = App[ @constructor.className ]._fillUp( item )
callback(item) callback(item)
@ -199,9 +199,9 @@ class App.Model extends Spine.Model
App.Event.bind( App.Event.bind(
events events
(item) => (item) =>
console.log('SERVER BIND try', item) #console.log('SERVER BIND try', item)
if App[ @constructor.className ]['SUBSCRIPTION_ITEM'] && App[ @constructor.className ]['SUBSCRIPTION_ITEM'][ item.id ] if App[ @constructor.className ]['SUBSCRIPTION_ITEM'] && App[ @constructor.className ]['SUBSCRIPTION_ITEM'][ item.id ]
console.log('SERVER BIND', item) #console.log('SERVER BIND', item)
for key, callback of App[ @constructor.className ]['SUBSCRIPTION_ITEM'][ item.id ] for key, callback of App[ @constructor.className ]['SUBSCRIPTION_ITEM'][ item.id ]
App[ @constructor.className ].retrieve( item.id, callback, true ) App[ @constructor.className ].retrieve( item.id, callback, true )
'Item::Subscribe::' + @constructor.className 'Item::Subscribe::' + @constructor.className