From bbe0ef0a59e62cb4646690bfbb4fb3a9e7c6b2a1 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 14 Sep 2015 19:13:02 +0200 Subject: [PATCH] Small cleanup. --- app/assets/javascripts/app/lib/app_post/delay.js.coffee | 3 ++- app/assets/javascripts/app/lib/app_post/interval.js.coffee | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/lib/app_post/delay.js.coffee b/app/assets/javascripts/app/lib/app_post/delay.js.coffee index 9d059fe64..9c3d09f5e 100644 --- a/app/assets/javascripts/app/lib/app_post/delay.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/delay.js.coffee @@ -91,7 +91,8 @@ class _delaySingleton extends Spine.Module for key, data of items @clear( key, level ) @levelStack[level] = {} + true _all: -> - return @levelStack + @levelStack diff --git a/app/assets/javascripts/app/lib/app_post/interval.js.coffee b/app/assets/javascripts/app/lib/app_post/interval.js.coffee index 697d0d3be..fec999e2b 100644 --- a/app/assets/javascripts/app/lib/app_post/interval.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/interval.js.coffee @@ -89,6 +89,7 @@ class _intervalSingleton extends Spine.Module for key, data of items @clear( key, level ) @levelStack[level] = {} + true _all: -> - return @levelStack + @levelStack