I'm using this plugin to explore routes with jQuery without having to migrate to AngularJS. But I'm not getting the answer in the log box, which was to return with the following code
$.router.add(/items/:item", "foo", function(data) {
console.log(data.item);
});
What point am I wrong in specifying?
In jsfiddle contains the plugin link and a demonstration, which is not working.