bergie / VIE

Semantic Interaction Framework for JavaScript
http://viejs.org/
MIT License
303 stars 56 forks source link

Improve "Load the schema.org ontology" error message #150

Closed akuckartz closed 11 years ago

akuckartz commented 11 years ago

The example http://viejs.org/examples/schemaorg/ fails on a Galaxy S mobile device some time after clicking on "Run":

"Something went wrong with loading the ontology!"

That error message could be improved. The documentation for loadSchema (http://viejs.org/docs/2.1.0/src/VIE.js.html) states that the error callback has a parameter "msg". But the callback in the example does not use and report it.

(In case it turns out that a timeout is a problem: jQuery.ajaxSetup( options ) can be used to increase the timeout.)