Removed not longer needed bindings.
This commit is contained in:
parent
9e3a68762d
commit
eb9d32e2b7
1 changed files with 0 additions and 16 deletions
|
@ -29,22 +29,6 @@ class _collectionSingleton extends Spine.Module
|
||||||
|
|
||||||
constructor: (@args) ->
|
constructor: (@args) ->
|
||||||
|
|
||||||
# add trigger - bind new events
|
|
||||||
App.Event.bind 'loadAssets', (data) =>
|
|
||||||
if !data
|
|
||||||
@log 'error', 'loadAssets:trigger, got no data, cant load assets'
|
|
||||||
return
|
|
||||||
|
|
||||||
@loadAssets( data )
|
|
||||||
|
|
||||||
# add trigger - bind new events
|
|
||||||
App.Event.bind 'resetCollection', (data) =>
|
|
||||||
if !data
|
|
||||||
@log 'error', 'resetCollection:trigger, got no data, cant for collections'
|
|
||||||
return
|
|
||||||
|
|
||||||
@resetCollections( data )
|
|
||||||
|
|
||||||
# find collections to load
|
# find collections to load
|
||||||
@_loadObjectsFromLocalStore()
|
@_loadObjectsFromLocalStore()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue