This commit is contained in:
Leo Horie 2015-04-13 08:29:03 -04:00
parent 9e558c199c
commit 2923104d27
6 changed files with 124 additions and 5 deletions

8
onerror.html Normal file
View 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>