forgot to iife

This commit is contained in:
Simon Knox 2017-02-08 21:54:33 +11:00
parent 766d011b46
commit 4e4639b56e

View file

@ -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();
}