clean up
This commit is contained in:
parent
9e558c199c
commit
2923104d27
6 changed files with 124 additions and 5 deletions
8
onerror.html
Normal file
8
onerror.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<body></body>
|
||||
<script src="mithril.js"></script>
|
||||
<script type="text/javascript">
|
||||
m.request({ url: "invalid" }).then(null, function() {console.log(1);})
|
||||
m.deferred.onerror = function() {
|
||||
console.log(2)
|
||||
}
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue