From 4e4639b56eda367a8d5612042fcf1359a8303082 Mon Sep 17 00:00:00 2001 From: Simon Knox Date: Wed, 8 Feb 2017 21:54:33 +1100 Subject: [PATCH] forgot to iife --- app/assets/javascripts/task_list.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/task_list.js.es6 b/app/assets/javascripts/task_list.js.es6 index 3fa6a36e455..1186a1ecfb9 100644 --- a/app/assets/javascripts/task_list.js.es6 +++ b/app/assets/javascripts/task_list.js.es6 @@ -7,7 +7,7 @@ class TaskList { constructor(options = {}) { this.selector = options.selector; this.dataType = options.dataType; - this.onSuccess = options.onSuccess || () => null; + this.onSuccess = options.onSuccess || (() => {}); this.init(); }