Skip to content
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

if 是否可以做扩展 #35

Open
rfyiamcool opened this issue Jan 2, 2014 · 2 comments
Open

if 是否可以做扩展 #35

rfyiamcool opened this issue Jan 2, 2014 · 2 comments

Comments

@rfyiamcool
Copy link

比如
if a==1
111
elseif a==2
222
else
other !!!

请问能搞成这样的格式吗? 刚才看了下代码,貌似没有这样的功能~

@zswang
Copy link

zswang commented Oct 27, 2014

这个沿用 JS 语法,所以不扩展的好

@hex-ci
Copy link
Contributor

hex-ci commented May 7, 2015

沿用JS语法会让模板代码看起来不太好看,我自己对 if, for 什么都做了一些扩展,并且对于性能也没什么大的影响。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants