@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 (14 loc) • 484 B
JavaScript
#import moduleB
#import moduleB moduleB
#import moduleB moduleB moduleB
#import moduleA
// io/moduleY does not exist.
// With the macro, a non-existent module causes an error, unlike when loading
// composites, where JS modules are optional.
try {#import io/moduleY
} catch (error) {
_error_collector.push(String(error));
}
if (window['moduleA$count'] === undefined)
window['moduleA$count'] = 0;
window['moduleA$count'] = window['moduleA$count'] +1;