Commit 4e4639b5 authored by Simon Knox's avatar Simon Knox

forgot to iife

parent 766d011b
...@@ -7,7 +7,7 @@ class TaskList { ...@@ -7,7 +7,7 @@ class TaskList {
constructor(options = {}) { constructor(options = {}) {
this.selector = options.selector; this.selector = options.selector;
this.dataType = options.dataType; this.dataType = options.dataType;
this.onSuccess = options.onSuccess || () => null; this.onSuccess = options.onSuccess || (() => {});
this.init(); this.init();
} }
......
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