question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make development.html use hashchange routing

See original GitHub issue

It might be possible to simply map can/route/pushstate/pushstate to “@empty”.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ilyavfcommented, Jul 6, 2016

This issue is fixed in generator-donejs #113

To test the issue:

  • generate project with generator-donejs;
  • copy the test into the project test folder;
  • update app files for the test (add routing and a button for navigation);
  • execute project’s tests.

This line runs tests off the generated project.

0reactions
matthewpcommented, Jul 6, 2016

Yay!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Window: hashchange event - Web APIs | MDN
The hashchange event is fired when the fragment identifier of the URL ... You can use the hashchange event in an addEventListener method:....
Read more >
Hashchange Routing with can.route - Part 1 - Basics - Bitovi
This part walks through the basics of hashchange routing and how can.route can be used for basic patterns. Specifically, it covers:.
Read more >
Implementing a Router With Hashchange Event - YouTube
In this video I implement a router skeleton / prototype based on the well-supported hashchange listener.See you at: http://airhacks.io or ...
Read more >
Hash Change Event in Javascript (onhashchange) - YouTube
By using the ' onhashchange ' event in Javascript, you will be able to take ... value of the hash '#' in the...
Read more >
How to implement a hash-key navigation? - Stack Overflow
With a hash-based navigation structure, you'll be defining your routes and their handlers via JS in the browser... When the hash is changed, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found