-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def.snippet:param: #82
Comments
对 if (def[d] && def[d].arg && param) {
var rw = (d+":"+param).replace(/'|\\/g, '_');
def.__exp = def.__exp || {};
def.__exp[rw] = def[d].text.replace(new RegExp("(\\{\\{[\w=\\s!$]+?)" + def[code].arg + "([\\w.$\\s]+?\\}\\})", "g"), "$1" + param + "$2");
return s + "def.__exp['"+rw+"']";
} |
I've run into this same bug and am having the same problem. |
@asins please see #195 (comment) |
Also #59 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result:
_12{a:12}
This is a bug, right should be
_12param
The text was updated successfully, but these errors were encountered: