Templating bugfix (#86)
This commit is contained in:
@@ -33,6 +33,7 @@ describe('Utils', function() {
|
||||
{longlonglong: 'long', short: 'shortshortshort'}
|
||||
).should.equal('long_shortshortshort')
|
||||
u.template('{{a.b.c}}', {a: {b: {c: 'deep'}}}).should.equal('deep')
|
||||
u.template('{x: {{number}}, y: {{number}}}', {number: 5}).should.equal('{x: 5, y: 5}')
|
||||
})
|
||||
|
||||
it('eq', function() {
|
||||
|
||||
Reference in New Issue
Block a user