Skip to content

Commit

Permalink
fix 连续使用多个过滤器会出错的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
qincheng committed Sep 16, 2013
1 parent bff5740 commit c796208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion avalon.js
Expand Up @@ -1536,7 +1536,7 @@
}
}

var rfilters = /[^|]\|\s*(\w+)\s*(\([^)]*\))?/g
var rfilters = /\|\s*(\w+)\s*(\([^)]*\))?/g

function scanExpr(str) {
var tokens = [],
Expand Down
2 changes: 1 addition & 1 deletion avalon.mobile.js
Expand Up @@ -1199,7 +1199,7 @@
}
}

var rfilters = /[^|]\|\s*(\w+)\s*(\([^)]*\))?/g
var rfilters = /\|\s*(\w+)\s*(\([^)]*\))?/g

function scanExpr(str) {
var tokens = [],
Expand Down

0 comments on commit c796208

Please sign in to comment.