How to use the oc-template-es6.getInfo function in oc-template-es6

To help you get started, we’ve selected a few oc-template-es6 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 opencomponents / oc / test / unit / registry-domain-register-templates.js View on Github external
it('should correctly register core-templates only', () => {
        expect(registered.templatesHash).to.deep.eql({
          'oc-template-es6': require('oc-template-es6'),
          'oc-template-jade': require('oc-template-jade'),
          'oc-template-handlebars': require('oc-template-handlebars')
        });
        expect(registered.templatesInfo).to.deep.eql([
          require('oc-template-es6').getInfo(),
          require('oc-template-jade').getInfo(),
          require('oc-template-handlebars').getInfo()
        ]);
      });
    });

oc-template-es6

OC template based on ES6 template literals

MIT
Latest version published 3 years ago

Package Health Score

52 / 100
Full package analysis

Popular oc-template-es6 functions