ippa / jaws

Jaws - HTML5 canvas javascript 2D Game Framework
https://jawsjs.ippa.se
GNU Lesser General Public License v3.0
364 stars 75 forks source link

Assets.js: Now with exception handling! #90

Closed videlais closed 11 years ago

videlais commented 11 years ago

Changes: -- All internal logging now uses the updated jaws.log functionality (calls to jaws.log.warn and jaws.log.error)

-- Each resource loading section {Image, Audio, Video} has its own try-catch block and error reporting.

-- assetLoaded (internal to jaws.assets) now has its own try-catch for catching partial downloads or malformed responses from XHR requests.