No old URLs used "#!/", so drop the route synonyms

This commit is contained in:
Steve Purcell 2014-05-27 11:56:12 +01:00
parent 7b7bb8e177
commit f352556915

View file

@ -420,10 +420,8 @@
m.route.mode = "hash";
m.route(document.getElementById("content"), "/", {
"/": melpa.frontpage,
"!/": melpa.frontpage, // Synonym for backward-compatibility
"/getting-started": melpa.gettingstarted,
"/:package": melpa.packagedetails,
"!/:package": melpa.packagedetails // Synonym for backward-compatibility
"/:package": melpa.packagedetails
});