From eb9d32e2b7c4c954c37dcbede58c0e955c2b62d0 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 10 May 2015 22:29:51 +0200 Subject: [PATCH] Removed not longer needed bindings. --- .../app/lib/app_post/collection.js.coffee | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/app/assets/javascripts/app/lib/app_post/collection.js.coffee b/app/assets/javascripts/app/lib/app_post/collection.js.coffee index 70cf042a8..2953c395a 100644 --- a/app/assets/javascripts/app/lib/app_post/collection.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/collection.js.coffee @@ -29,22 +29,6 @@ class _collectionSingleton extends Spine.Module 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 @_loadObjectsFromLocalStore()