From 1954d98628067fc9c626559e4b6389039f73b594 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 27 May 2016 11:30:53 -0700 Subject: [PATCH] [Tutorials] Remove diff markings in TodoController --- tutorials/todo/src/controllers/TodoController.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/todo/src/controllers/TodoController.js b/tutorials/todo/src/controllers/TodoController.js index 77e509f0b7..f381052d0d 100644 --- a/tutorials/todo/src/controllers/TodoController.js +++ b/tutorials/todo/src/controllers/TodoController.js @@ -45,10 +45,10 @@ define(function () { showCompleted = completed; }; - + // Check if current visibility settings match - + $scope.checkVisibility = function (all, completed) { - + return showAll ? all : (completed === showCompleted); - + }; + // Check if current visibility settings match + $scope.checkVisibility = function (all, completed) { + return showAll ? all : (completed === showCompleted); + }; // Toggle the completion state of a task $scope.toggleCompletion = function (taskIndex) {