forgot to iife
This commit is contained in:
parent
766d011b46
commit
4e4639b56e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue