Skip to content

Commit

Permalink
fix directive parser literal number arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Oct 29, 2015
1 parent d8605f9 commit e8efd64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function pushFilter () {
function processFilterArg (arg) {
if (reservedArgRE.test(arg)) {
return {
value: arg,
value: _.toNumber(arg),
dynamic: false
}
} else {
Expand Down

0 comments on commit e8efd64

Please sign in to comment.