From f1e81c359ecc8dfc22d0851f0a19155e07d873b2 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Thu, 19 May 2016 12:17:20 -0700 Subject: [PATCH] [Persistence] Satisfy JSHint --- platform/core/src/runs/PersistingMutationListener.js | 2 -- .../clock/test/actions/AbstractStartTimerActionSpec.js | 3 --- platform/features/clock/test/actions/StartTimerActionSpec.js | 1 - 3 files changed, 6 deletions(-) diff --git a/platform/core/src/runs/PersistingMutationListener.js b/platform/core/src/runs/PersistingMutationListener.js index c41934df02..5ad7434d7c 100644 --- a/platform/core/src/runs/PersistingMutationListener.js +++ b/platform/core/src/runs/PersistingMutationListener.js @@ -22,8 +22,6 @@ /*global define*/ define([], function () { - 'use strict'; - /** * Listens for mutation on domain objects and triggers mutation when * it occurs. diff --git a/platform/features/clock/test/actions/AbstractStartTimerActionSpec.js b/platform/features/clock/test/actions/AbstractStartTimerActionSpec.js index b09f4fba96..35c70ecb76 100644 --- a/platform/features/clock/test/actions/AbstractStartTimerActionSpec.js +++ b/platform/features/clock/test/actions/AbstractStartTimerActionSpec.js @@ -45,9 +45,6 @@ define( [ 'getCapability', 'useCapability' ] ); - mockDomainObject.getCapability.andCallFake(function (c) { - return (c === 'persistence') && mockPersistence; - }); mockDomainObject.useCapability.andCallFake(function (c, v) { if (c === 'mutation') { testModel = v(testModel) || testModel; diff --git a/platform/features/clock/test/actions/StartTimerActionSpec.js b/platform/features/clock/test/actions/StartTimerActionSpec.js index 72278a849c..83816855fd 100644 --- a/platform/features/clock/test/actions/StartTimerActionSpec.js +++ b/platform/features/clock/test/actions/StartTimerActionSpec.js @@ -27,7 +27,6 @@ define( describe("A timer's start action", function () { var mockNow, mockDomainObject, - mockPersistence, testModel, testContext, action;