ltgloader-demo will now alert the user on all uncaught exceptions
parent
17d8dbe0fc
commit
85426b9ab7
|
@ -62,6 +62,9 @@
|
|||
window.Class = easejs.Class;
|
||||
window.Interface = easejs.Interface;
|
||||
|
||||
// alert the user on all uncaught errors
|
||||
window.onerror = alert;
|
||||
|
||||
var ctx = document.getElementById( 'canvas' ).getContext( '2d' ),
|
||||
ctxmap = document.getElementById( 'canvas_map' ).getContext( '2d' ),
|
||||
ltg = document.getElementById( 'ltg' ),
|
||||
|
|
Loading…
Reference in New Issue