Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function initialize(registry, app = {}) {
registerHelper('format-date', FormatDate, registry);
registerHelper('format-time', FormatTime, registry);
registerHelper('format-relative', FormatRelative, registry);
registerHelper('format-number', FormatNumber, registry);
registerHelper('format-html-message', FormatHtmlMessage, registry);
registerHelper('format-message', FormatMessage, registry);
registerHelper('t', FormatMessage, registry);
registerHelper('l', LiteralHelper, registry);
if (app.instanceInitializer) {
return;
}
// for backwards compatability < 1.12
instanceInitializer({
container: registry
});
}
export function initialize(registry, app = {}) {
registerHelper('format-date', FormatDate, registry);
registerHelper('format-time', FormatTime, registry);
registerHelper('format-relative', FormatRelative, registry);
registerHelper('format-number', FormatNumber, registry);
registerHelper('format-html-message', FormatHtmlMessage, registry);
registerHelper('format-message', FormatMessage, registry);
registerHelper('t', FormatMessage, registry);
registerHelper('l', LiteralHelper, registry);
if (app.instanceInitializer) {
return;
}
// for backwards compatability < 1.12
instanceInitializer({
container: registry
});
}
export function initialize(registry, app = {}) {
registerHelper('format-date', FormatDate, registry);
registerHelper('format-time', FormatTime, registry);
registerHelper('format-relative', FormatRelative, registry);
registerHelper('format-number', FormatNumber, registry);
registerHelper('format-html-message', FormatHtmlMessage, registry);
registerHelper('format-message', FormatMessage, registry);
registerHelper('t', FormatMessage, registry);
registerHelper('l', LiteralHelper, registry);
if (app.instanceInitializer) {
return;
}
// for backwards compatability < 1.12
instanceInitializer({
container: registry
});
}
export function initialize(registry, app = {}) {
registerHelper('format-date', FormatDate, registry);
registerHelper('format-time', FormatTime, registry);
registerHelper('format-relative', FormatRelative, registry);
registerHelper('format-number', FormatNumber, registry);
registerHelper('format-html-message', FormatHtmlMessage, registry);
registerHelper('format-message', FormatMessage, registry);
registerHelper('t', FormatMessage, registry);
registerHelper('l', LiteralHelper, registry);
if (app.instanceInitializer) {
return;
}
// for backwards compatability < 1.12
instanceInitializer({
container: registry
});
}
export function initialize(registry, app = {}) {
registerHelper('format-date', FormatDate, registry);
registerHelper('format-time', FormatTime, registry);
registerHelper('format-relative', FormatRelative, registry);
registerHelper('format-number', FormatNumber, registry);
registerHelper('format-html-message', FormatHtmlMessage, registry);
registerHelper('format-message', FormatMessage, registry);
registerHelper('t', FormatMessage, registry);
registerHelper('l', LiteralHelper, registry);
if (app.instanceInitializer) {
return;
}
// for backwards compatability < 1.12
instanceInitializer({
container: registry
});
}
export function initialize(registry, app = {}) {
registerHelper('format-date', FormatDate, registry);
registerHelper('format-time', FormatTime, registry);
registerHelper('format-relative', FormatRelative, registry);
registerHelper('format-number', FormatNumber, registry);
registerHelper('format-html-message', FormatHtmlMessage, registry);
registerHelper('format-message', FormatMessage, registry);
registerHelper('t', FormatMessage, registry);
registerHelper('l', LiteralHelper, registry);
if (app.instanceInitializer) {
return;
}
// for backwards compatability < 1.12
instanceInitializer({
container: registry
});
}
export function initialize(registry, app = {}) {
registerHelper('format-date', FormatDate, registry);
registerHelper('format-time', FormatTime, registry);
registerHelper('format-relative', FormatRelative, registry);
registerHelper('format-number', FormatNumber, registry);
registerHelper('format-html-message', FormatHtmlMessage, registry);
registerHelper('format-message', FormatMessage, registry);
registerHelper('t', FormatMessage, registry);
registerHelper('l', LiteralHelper, registry);
if (app.instanceInitializer) {
return;
}
// for backwards compatability < 1.12
instanceInitializer({
container: registry
});
export function initialize(registry, app = {}) {
registerHelper('format-date', FormatDate, registry);
registerHelper('format-time', FormatTime, registry);
registerHelper('format-relative', FormatRelative, registry);
registerHelper('format-number', FormatNumber, registry);
registerHelper('format-html-message', FormatHtmlMessage, registry);
registerHelper('format-message', FormatMessage, registry);
registerHelper('t', FormatMessage, registry);
registerHelper('l', LiteralHelper, registry);
if (app.instanceInitializer) {
return;
}
// for backwards compatability < 1.12
instanceInitializer({
container: registry
});
}