ciscoheat / erazor

A Haxe implementation of the Razor view engine
19 stars 15 forks source link

comments #10

Closed postite closed 12 years ago

postite commented 12 years ago

there is no way to comment stuff in templates.. //@popopo or is still parsed as a possible block !.

perhaps at least :

 @ignore (){  
<img src="path/@popop" />
}
<img src="path/@pipip" />

..

postite commented 12 years ago

clemos just told me that

 @{//@popop}

and

@{/*@popop*/}

works ...

ciscoheat commented 12 years ago

If that syntax is good enough, closing this issue now.