Skip to content

Commit

Permalink
allow () in template modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrsh committed Apr 2, 2017
1 parent b482c68 commit 612527a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/moon.js
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@
/* ======= Compiler ======= */
var openRE = /\{\{/;
var closeRE = /\}\}/;
var modifierRE = /\[|\./;
var modifierRE = /\[|\.|\(/;

var compileTemplate = function (template, isString) {
var state = {
Expand Down
Loading

0 comments on commit 612527a

Please sign in to comment.