From 4f3dcc28bf7049eca8b7229b2011a1a5b8d853e6 Mon Sep 17 00:00:00 2001 From: Vit Brunner Date: Sun, 21 Sep 2014 22:49:20 +0200 Subject: [PATCH] YAGNI --- source/documents/scripts/controllers.js.coffee | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/source/documents/scripts/controllers.js.coffee b/source/documents/scripts/controllers.js.coffee index 19ef90c..2bc37fb 100644 --- a/source/documents/scripts/controllers.js.coffee +++ b/source/documents/scripts/controllers.js.coffee @@ -22,21 +22,3 @@ angular.module("sideBySide.controllers", []) update(window.location.pathname.slice(0, -1) + $location.path() + "/config.json") ] - -#.controller "notificationController", ['$scope', '$timeout', ($scope, $timeout) -> -# $scope.id = 0 -# $scope.notifications = [] -# -# $scope.notify = (text, type = "info") -> -# $scope.notifications[$scope.id] = { -# text: text -# type: type -# } -# $timeout(() -> -# $scope.remove($scope.id) -# , 1000) -# $scope.id++ -# -# $scope.remove = (id) -> -# delete $scope.notifications[id] -#]