Templating bugfix (#86)
This commit is contained in:
parent
f0d22328cd
commit
9ad080d24c
5 changed files with 34 additions and 7 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue