Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : how to catch 404s with can.route.pushstate

$
0
0
A possible API could be a callback function from ready():
  1. can.route.ready(function(error)
  2. {
  3.     console.log(error);
  4. });
However, that doesn't look as nice as something in a can.Component's events:{}

Viewing all articles
Browse latest Browse all 3491

Trending Articles