@seanox/aspect-js
Version:
full stack JavaScript framework for SPAs incl. reactivity rendering, mvc / mvvm, models, expression language, datasource, routing, paths, unit test and some more
17 lines (15 loc) • 521 B
JavaScript
// Modules are loaded only once.
// Even if an error occurs during the first call.
// Therefore, second calls must be ignored.
try {#import nix/nix/nix;
} catch (error) {
_error_collector.push(String(error));
}
try {#import nix/nix/nix;
} catch (error) {
_error_collector.push(String(error));
}
// Since the resource has already been called, this must run without error here,
// since the call is now ignored, even if the call was previously responded to
// with status 404.
#import nix/nix/nix;