Thursday, 15 September 2011

backbone.js - How do I make backbone routing for file:// -



backbone.js - How do I make backbone routing for file:// -

i trying trigger router on file:// protocol

backbone started using pushstate

# backbone history start backbone.history.start pushstate : true root : "/"

routes defined below

"prototyping/scaffolding/contact.html" : "contact"

path example

file:///users/ianwarner/www/prototyping/scaffolding/contact.html

i think missing magic create happen - maybe prepend wildcard origin of routes?

all help appreciated

thanks

ian

backbone.js

No comments:

Post a Comment