How to use the @glimmer/runtime.PartialDefinition function in @glimmer/runtime

To help you get started, we’ve selected a few @glimmer/runtime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github glimmerjs / glimmer-vm / packages / @glimmer / test-helpers / lib / environment / lazy-env.ts View on Github external
registerPartial(name: string, source: string): PartialDefinition {
    let definition = new PartialDefinition(name, this.compile(source, null));
    this.resolver.register('partial', name, definition);
    return definition;
  }
github glimmerjs / glimmer-vm / packages / @glimmer / test-helpers / lib / environment.ts View on Github external
registerPartial(name: string, source: string): PartialDefinition {
    let definition = new PartialDefinition(name, this.compile(source));
    this.resolver.register('partial', name, definition);
    return definition;
  }