You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Jaml as internal html builder on coffee-script.
but there's small troubles.
as you see below: function call syntax accepts normal variable as 2nd parameter following 1st object literal parameter. but objects's property or array's index does not.
subject = 'subject variable'
ctx = subject: 'subject property'
div(cls: 'subject', subject) # it's OK
div(cls: 'subject', ctx.subject) # it's NG
div(cls: 'subject', cts['subject']) # also NG
of course, I have another choice that wrap object with { and }.
is it some bug of jison lexer syntax?
The text was updated successfully, but these errors were encountered:
I'm trying to use Jaml as internal html builder on coffee-script.
but there's small troubles.
as you see below: function call syntax accepts normal variable as 2nd parameter following 1st object literal parameter. but objects's property or array's index does not.
of course, I have another choice that wrap object with
{
and}
.is it some bug of jison lexer syntax?
The text was updated successfully, but these errors were encountered: