Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/externals/javelin/lib/Resource.js
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | _complete: function(uri) { | ||||
current.callback(); | current.callback(); | ||||
} catch (error) { | } catch (error) { | ||||
errors.push(error); | errors.push(error); | ||||
} | } | ||||
list.splice(ii--, 1); | list.splice(ii--, 1); | ||||
} | } | ||||
} | } | ||||
for (var jj = 0; jj < errors.length; jj++) { | |||||
JX.log(errors[jj]); | |||||
} | |||||
if (errors.length) { | if (errors.length) { | ||||
throw errors[0]; | throw errors[0]; | ||||
} | } | ||||
}, | }, | ||||
_hasResources: function(resources) { | _hasResources: function(resources) { | ||||
for (var hasResources in resources) { | for (var hasResources in resources) { | ||||
return true; | return true; | ||||
Show All 26 Lines |