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

Handle params after hash, format example: #details?id=1 #41

Closed
steveseeger opened this issue Nov 26, 2015 · 1 comment
Closed

Handle params after hash, format example: #details?id=1 #41

steveseeger opened this issue Nov 26, 2015 · 1 comment

Comments

@steveseeger
Copy link

I am doing development with a popular framework KendoUI which uses this format for Single Page Application (SPA) on mobile, eg:

theurl = "http://localhost:8080/index.html#details?id=1";

I really like this library, currently using: window.url( '#details?id', theurl); which returns 1.

It would be great to handle the case window.url( '?id', url); and return 1 in my example or if that conflicts with another case just add this example to the tests.js to save others time trying combinations to get this case working. Cheers!

@websanova
Copy link
Owner

That works already.
On Nov 27, 2015 12:38 AM, "Steve Seeger" notifications@github.com wrote:

I am doing development with a popular framework KendoUI which uses this
format for Single Page Application (SPA) on mobile, eg:

theurl = "http://localhost:8080/index.html#details?id=1";

I really like this library, currently using: window.url( '#details?id',
theurl); which returns 1.

It would be great to handle the case window.url( '?id', url); and return 1
in my example or if that conflicts with another case just add this example
to the tests.js to save others time trying combinations to get this case
working. Cheers!


Reply to this email directly or view it on GitHub
#41.

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