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

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -