requirejs catch
require([path], function(content){
//need to catch errors as this will not be called;
}, function (err) {
//display error to user
});
Are there any code examples left?
New code examples in category Javascript
require([path], function(content){
//need to catch errors as this will not be called;
}, function (err) {
//display error to user
});