Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// DefaultBindingCommand,
// ForBindingCommand,
// FromViewBindingCommand,
// OneTimeBindingCommand,
// ToViewBindingCommand,
// TwoWayBindingCommand,
// IExpressionParserRegistration,
// DefaultComponents as JitDefaultComponents,
// RefAttributePatternRegistration,
// DotSeparatedAttributePatternRegistration,
// DefaultBindingSyntax,
// AtPrefixedTriggerAttributePatternRegistration,
// ColonPrefixedBindAttributePatternRegistration,
exports.ShortHandBindingSyntax = jit_1.ShortHandBindingSyntax;
var jit_html_browser_1 = require("@aurelia/jit-html-browser");
exports.JitHtmlBrowserConfiguration = jit_html_browser_1.JitHtmlBrowserConfiguration;
var kernel_1 = require("@aurelia/kernel");
exports.all = kernel_1.all;
exports.DI = kernel_1.DI;
exports.IContainer = kernel_1.IContainer;
// IDefaultableInterfaceSymbol,
// IFactory,
exports.inject = kernel_1.inject;
exports.IServiceLocator = kernel_1.IServiceLocator;
exports.lazy = kernel_1.lazy;
exports.optional = kernel_1.optional;
// RegisterSelf,
exports.Registration = kernel_1.Registration;
// ResolveCallback,
exports.singleton = kernel_1.singleton;
exports.transient = kernel_1.transient;
// Injectable,
function createAurelia() {
const au = new Aurelia();
au.register(jit_html_browser_1.JitHtmlBrowserConfiguration);
// eslint-disable-next-line sonarjs/no-collapsible-if
if (typeof process !== 'undefined' && typeof process.env === 'object') {
// Just use NODE_ENV to control build process.
// Bundlers (at least webpack/dumber/parcel) have feature to remove this branch in production.
// Then tree-shaking/minifier will remove unused DebugConfiguration import.
if (process.env.NODE_ENV !== 'production') {
au.register(debug_1.DebugConfiguration);
}
}
return au;
}
class Aurelia extends runtime_1.Aurelia {