How to use the d.hbs function in d

To help you get started, we’ve selected a few d 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 jonschlinkert / templates / test / views.js View on Github external
it('should use a custom rename key function on view keys', function() {
        collection.addView('a/b/c/d.hbs', {content: 'foo bar baz'});
        assert.equal(collection.views['d.hbs'].contents.toString(), 'foo bar baz');
      });
github generate / generate / test / views.js View on Github external
it('should use a custom rename key function on view keys', function() {
      collection.addView('a/b/c/d.hbs', {content: 'foo bar baz'});
      assert(collection.views['d.hbs'].contents.toString() === 'foo bar baz');
    });
github assemble / assemble-core / test / views.js View on Github external
it('should use a custom rename key function on view keys', function() {
      collection.addView('a/b/c/d.hbs', {content: 'foo bar baz'});
      assert(collection.views['d.hbs'].contents.toString() === 'foo bar baz');
    });
github verbose / verb / test / collection.js View on Github external
it('should use a custom rename key function on item keys', function() {
      collection.addItem('a/b/c/d.hbs', {content: 'foo bar baz'});
      assert(collection.items['d.hbs'].contents.toString() === 'foo bar baz');
    });
github assemble / assemble-core / test / collection.js View on Github external
it('should use a custom rename key function on item keys', function() {
      collection.addItem('a/b/c/d.hbs', {content: 'foo bar baz'});
      assert(collection.items['d.hbs'].contents.toString() === 'foo bar baz');
    });
github assemble / assemble / test / collection.js View on Github external
it('should use a custom rename key function on item keys', function() {
      collection.addItem('a/b/c/d.hbs', {content: 'foo bar baz'});
      assert(collection.items['d.hbs'].contents.toString() === 'foo bar baz');
    });
github update / update / test / views.js View on Github external
it('should use a custom rename key function on view keys', function() {
      collection.addView('a/b/c/d.hbs', {content: 'foo bar baz'});
      assert(collection.views['d.hbs'].contents.toString() === 'foo bar baz');
    });
github verbose / verb / test / views.js View on Github external
it('should use a custom rename key function on view keys', function() {
      collection.addView('a/b/c/d.hbs', {content: 'foo bar baz'});
      assert(collection.views['d.hbs'].contents.toString() === 'foo bar baz');
    });
github generate / generate / test / collection.js View on Github external
it('should use a custom rename key function on item keys', function() {
      collection.addItem('a/b/c/d.hbs', {content: 'foo bar baz'});
      assert(collection.items['d.hbs'].contents.toString() === 'foo bar baz');
    });
github assemble / assemble / test / views.js View on Github external
it('should use a custom rename key function on view keys', function() {
      collection.addView('a/b/c/d.hbs', {content: 'foo bar baz'});
      assert(collection.views['d.hbs'].contents.toString() === 'foo bar baz');
    });

d

Property descriptor factory

ISC
Latest version published 2 months ago

Package Health Score

72 / 100
Full package analysis