make xhr.abort reject promise chain
This commit is contained in:
parent
c1f6705a59
commit
38dba03f6d
11 changed files with 69 additions and 13 deletions
|
|
@ -163,7 +163,6 @@ dashboard.controller = function() {
|
|||
};
|
||||
|
||||
dashboard.view = function(ctrl) {
|
||||
//assuming there's an element w/ id = "example" somewhere on the page
|
||||
return m("#example", [
|
||||
new autocompleter.view(ctrl.autocompleter, {onchange: m.withAttr("value", console.log)}),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue