0

I am using backbone.js to create a web application and I have a problem with urls. I want to get previous hash in url without using:

$(window).on("hashchange", function (e) {});

and store it in a variable.

Beat
  • 4,386
  • 2
  • 35
  • 52
  • 3
    Why do you care what the previous view was? It sounds like, whatever the problem is, you should be refactoring to be stateless. – Quentin Feb 29 '16 at 14:09
  • 1
    Possible duplicate of [Get previous router/url in backbone application](http://stackoverflow.com/questions/18735111/get-previous-router-url-in-backbone-application) – T J Mar 03 '16 at 12:58

0 Answers0