Closed dvv closed 13 years ago
Hi!
limit(,10) --> {name: 'limit',args:[10]} limit(,10,20) --> {name: 'limit',args:[10,20]} limit(,,10,20) --> {name: 'limit',args:['',10,20]}
limit(,10)
{name: 'limit',args:[10]}
limit(,10,20)
{name: 'limit',args:[10,20]}
limit(,,10,20)
{name: 'limit',args:['',10,20]}
Seems the very first "argument" is swallowed.
Please, consider fixing, unless this is a feature.
TIA, --Vladimir
If it's a bug, the fix could be as in https://github.com/dvv/underscore-data/blob/master/underscore-data.js#L219 - 226. Best regards, --Vladimir
Hi!
limit(,10)
-->{name: 'limit',args:[10]}
limit(,10,20)
-->{name: 'limit',args:[10,20]}
limit(,,10,20)
-->{name: 'limit',args:['',10,20]}
Seems the very first "argument" is swallowed.
Please, consider fixing, unless this is a feature.
TIA, --Vladimir