How to use min-document - 3 common examples

To help you get started, we’ve selected a few min-document 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 mixpanel / panel / test / app.js View on Github external
beforeEach(function() {
      el = document.createElement('div');
      app = new StatefulApp(el, {$screen: 'hello', animal: 'wombat'}, {window: windowStub});
      app.start();
    });
github choojs / choo / tests / server / index.js View on Github external
    app.router(['/', () => minDocument.createElement('div')])
github mixpanel / panel / test / app.js View on Github external
beforeEach(function() {
      el = document.createElement('div');
      app = new ConstantApp(el, {$screen: 'hello'}, {window: windowStub});
    });

min-document

A minimal DOM implementation

MIT
Latest version published 8 years ago

Package Health Score

74 / 100
Full package analysis

Popular min-document functions

Similar packages