javascript - error when compiling action tag in a button with handlebars.js -


i've code in template:

<button type="submit" id="button_login" class="common_button" {{action "login" email password  }}>accedi</button> 

when compile error:

uncaught error: parse error on line 22: ...mon_button" {{action="" "login"="" email -----------------------^ expecting 'close', 'data', 'string', 'integer', 'boolean', 'id', 'sep', got 'equals' handlebars-1.0.0-rc.3.js:286 

does know why?? in advance!


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -