|
|
|
|
|
by esailija
4436 days ago
|
|
In mithril promises if you return undefined from then, the promise will fulfill with the previous value, I.E. it behaves like .tap in other promise libraries (because doing this in a .then like mithril does violates the spec - which is evidently surprising) However, with unbound console.log the code doesn't work at all, this is the case in Chrome for example. |
|