Commit 2ad038a5 authored by Randall Leeds's avatar Randall Leeds

Take applyUpdates off the scope

It's never called except within the AppController.
parent b5bbe60b
...@@ -174,9 +174,9 @@ class App ...@@ -174,9 +174,9 @@ class App
if $scope.socialView.name is 'single-player' if $scope.socialView.name is 'single-player'
owndata = data.filter (d) -> d.user is user owndata = data.filter (d) -> d.user is user
$scope.applyUpdates action, owndata applyUpdates action, owndata
else else
$scope.applyUpdates action, data applyUpdates action, data
_dfdSock.promise _dfdSock.promise
...@@ -381,7 +381,7 @@ class App ...@@ -381,7 +381,7 @@ class App
$scope.socialView = annotator.socialView $scope.socialView = annotator.socialView
$scope.applyUpdates = (action, data) -> applyUpdates = (action, data) ->
return unless data?.length return unless data?.length
if action == 'past' if action == 'past'
action = 'create' action = 'create'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment