Sha256: 5193717650611b012190a2f58bc3483408b054444b055e3f7743651dffa498d1
Contents?: true
Size: 598 Bytes
Versions: 3
Compression:
Stored size: 598 Bytes
Contents
/** @module ember */ import { precompile as glimmerPrecompile } from '@glimmer/compiler'; import compileOptions from './compile-options'; /** Uses HTMLBars `compile` function to process a string into a compiled template string. The returned string must be passed through `Ember.HTMLBars.template`. This is not present in production builds. @private @method precompile @param {String} templateString This is the string to be compiled by HTMLBars. */ export default function precompile(templateString, options) { return glimmerPrecompile(templateString, compileOptions(options)); }
Version data entries
3 entries across 3 versions & 1 rubygems