Remove commented-out code.

This commit is contained in:
Paulo Reis 2018-05-30 15:18:15 +01:00
parent 66d7bdb26b
commit 7cb4280a4d

View file

@ -73,43 +73,4 @@ define [
$scope.$watch "history.updates.length", () -> $scope.$watch "history.updates.length", () ->
$scope.recalculateSelectedUpdates() $scope.recalculateSelectedUpdates()
] ]
# App.controller "HistoryListItemController", ["$scope", "event_tracking", ($scope, event_tracking) ->
# $scope.$watch "update.selectedFrom", (selectedFrom, oldSelectedFrom) ->
# if selectedFrom
# for update in $scope.history.updates
# update.selectedFrom = false unless update == $scope.update
# $scope.recalculateSelectedUpdates()
# $scope.$watch "update.selectedTo", (selectedTo, oldSelectedTo) ->
# if selectedTo
# for update in $scope.history.updates
# update.selectedTo = false unless update == $scope.update
# $scope.recalculateSelectedUpdates()
# $scope.select = () ->
# event_tracking.sendMB "history-view-change"
# $scope.update.selectedTo = true
# $scope.update.selectedFrom = true
# $scope.mouseOverSelectedFrom = () ->
# $scope.history.hoveringOverListSelectors = true
# $scope.update.hoverSelectedFrom = true
# $scope.recalculateHoveredUpdates()
# $scope.mouseOutSelectedFrom = () ->
# $scope.history.hoveringOverListSelectors = false
# $scope.resetHoverState()
# $scope.mouseOverSelectedTo = () ->
# $scope.history.hoveringOverListSelectors = true
# $scope.update.hoverSelectedTo = true
# $scope.recalculateHoveredUpdates()
# $scope.mouseOutSelectedTo = () ->
# $scope.history.hoveringOverListSelectors = false
# $scope.resetHoverState()
# $scope.displayName = displayNameForUser
# ]