Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
registerPartial(name: string, source: string): PartialDefinition {
let definition = new PartialDefinition(name, this.compile(source, null));
this.resolver.register('partial', name, definition);
return definition;
}
registerPartial(name: string, source: string): PartialDefinition {
let definition = new PartialDefinition(name, this.compile(source));
this.resolver.register('partial', name, definition);
return definition;
}