Call expressions with hash expressions are called with args reversed. #2243

Closed
marshallswain opened this Issue Feb 7, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@marshallswain
Member

marshallswain commented Feb 7, 2016

Using can@2.3.15, with a handler like this:

($click)="submit(one='one', %event)"

And a function like this in the viewModel:

submit(params, ev){

}

params will be the event and ev will equal {one:"one"}

Open the browser's console in this jsbin:
http://jsbin.com/bipeqig/5/edit?html,js,output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment