ä¹ ãã¶ãã®Backbone.jså ¥éã Backbone.jsã¬ã¤ãããã¯ãè¦ãªããã¾ã¨ãã¦ã¾ããã å¾åã¯è©¦è¡é¯èª¤ã®ãã¾ãã®ã Backbone.Routerã¨ã¯ Backbone.Routerã¯ãµã¼ãã¼ãµã¤ãMVCãã¬ã¼ã ã¯ã¼ã¯ã§ããã¨ããã®Cã«ãããé¨åãã§ãããã¾ãããVCã§ãããã¾ãã Backbone.ViewãDOMãç£è¦ããã®ã«å¯¾ãã¦ãBackbone.Routerã¯ãã©ã¦ã¶ã®ããã·ã¥ï¼URLæ¬ï¼ãç£è¦ãã¾ãï¼å³å¯ã«è¨ãã¨hashChangeã¤ãã³ãã¨popStateã¤ãã³ããç£è¦ï¼ã Backbone.Routerã«ããã·ã¥ã¨ããã«å¯¾å¿ããæä½ãè¨å®ãã¦ãããã¨ã§ã ã¢ããªã±ã¼ã·ã§ã³å ¨ä½ã®ã³ã³ããã¼ã©ã¿ãããªãµãã¾ãããã¾ãã Backbone.Routerã®ä½¿ãæ¹ ä½ã¯ã¨ããããµã³ãã«ã³ã¼ããã // @file router_sample.js var Router
{{#tags}}- {{label}}
{{/tags}}