How to use the @aurelia/jit-html.stringifyTemplateDefinition function in @aurelia/jit-html

To help you get started, we’ve selected a few @aurelia/jit-html 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 aurelia / aurelia / packages / __tests__ / 5-jit-html / tracing.spec.ts View on Github external
au.start();
    const outerHtmlAfterStart1 = host.outerHTML;
    assert.strictEqual(getVisibleText(au, host), expected, 'after start #1');
    au.stop();
    const outerHtmlAfterStop1 = host.outerHTML;
    assert.strictEqual(getVisibleText(au, host), '', 'after stop #1');
    au.start();
    const outerHtmlAfterStart2 = host.outerHTML;
    assert.strictEqual(getVisibleText(au, host), expected, 'after start #2');
    au.stop();
    const outerHtmlAfterStop2 = host.outerHTML;
    assert.strictEqual(getVisibleText(au, host), '', 'after stop #2');
    assert.strictEqual(outerHtmlAfterStart1, outerHtmlAfterStart2, 'outerHTML after start #1 / #2');
    assert.strictEqual(outerHtmlAfterStop1, outerHtmlAfterStop2, 'outerHTML after stop #1 / #2');

    console.log(`\n${stringifyTemplateDefinition(description, 0)}`);
    disableTracing();
  }
  it('tag$01 text$01 _', function () {

@aurelia/jit-html

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/) [![TypeScript](https://img.shields.io/badge/%3C%2F

MIT
Latest version published 4 years ago

Package Health Score

64 / 100
Full package analysis