{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/e7800b9ae8733fb8a99e669cb26be69b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e7800b9ae8733fb8a99e669cb26be69b","url":"https://api.github.com/users/imdonkey","login":"imdonkey","id":316145},"milestone":null,"labels":[{"name":"question","color":"eb70b2","url":"https://api.github.com/repos/documentcloud/backbone/labels/question"}],"assignee":null,"updated_at":"2011-11-02T11:49:02Z","closed_at":"2011-07-04T13:22:12Z","comments":11,"url":"https://api.github.com/repos/documentcloud/backbone/issues/456","body":"hi,\r\nI'm trying to upgrade Backbone in my project from 0.3.3 to 0.5.0 (https://github.com/documentcloud/backbone/commit/d2082a54cf428907844a16b37ccb9e5b26a414b9 ) and want to set pushState as true when call Backbone.history.start(), but .... \r\n\r\nhere is the code:\r\n\r\n```javascript\r\nvar router = Backbone.Router.extend({\r\nroutes: {                                                                            \r\n        \"\"                                       : \"home\",                                                       \r\n        \":uid\"                                   : \"profile\",                                                                          \r\n        \"search/:query\"                          : \"search\"                              \r\n    }\r\n})\r\n```\r\nand \r\n\r\n```javascript\r\nnew router();\r\nBackbone.history.start({pushState: true});\r\n```\r\nThe project is ok on IE678.. but can't work on pushState-capable browser such as FF and Chrome...\r\nwhen I click any link on homepage,  the URL has changed but can not trigger the correctly events that defined in router...\r\n\r\nIs there someting wrong with my code or Backbone latest version?\r\n\r\nThanks~\r\n","html_url":"https://github.com/documentcloud/backbone/issues/456","number":456,"title":"questions about pushState and history","id":1161319,"created_at":"2011-07-04T10:16:43Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/c6f186afb81c61fac57cf5ddb4afbc7c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c6f186afb81c61fac57cf5ddb4afbc7c","url":"https://api.github.com/users/pnbv","login":"pnbv","id":31993},"updated_at":"2011-11-02T11:49:02Z","url":"https://api.github.com/repos/documentcloud/backbone/issues/comments/2602380","body":"In my opinion there are two main use cases for Backbone. \r\n1. Stateful application\r\na) In a webkit \"webview\" inside a native application. No address bar, refresh or back buttons. No need for hashes.\r\nb) In a browser. Hiding or not the address bar. Only one entry point. Use hashes.\r\n2. Stateful application with server-side fallback (or stateless application with stateful mode)\r\na) In a browser. Application state maps to urls. Multiple entry points ready :) Use urls, pushState and popstate. ","id":2602380,"created_at":"2011-11-02T11:49:02Z"}}