Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem with the function match #94

Open
liujian10 opened this issue Aug 9, 2017 · 0 comments
Open

A problem with the function match #94

liujian10 opened this issue Aug 9, 2017 · 0 comments

Comments

@liujian10
Copy link

liujian10 commented Aug 9, 2017

pathjs/path.js

Line 56 in 2fe037d

var params = {}, route = null, possible_routes, slice, i, j, compare;

Paths:#test1/id , #test2/name/desc

Go to #test2/1/2 the params is {id:1,name:1,desc:2} not {name:1,desc:2}.

@liujian10 liujian10 changed the title match方法设置参数异常 A problem with the function match Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@liujian10 and others