don't encode page.name (hash) in docs.js

see discussion in https://github.com/angular/angular.js/pull/158"
This commit is contained in:
Igor Minar 2010-11-18 11:56:10 -08:00
parent 7f339a1782
commit 3c7874b07b

View file

@ -6,7 +6,7 @@ function DocsController($location, $browser, $window) {
window.$root = this.$root;
this.getUrl = function(page){
return '#!' + encodeURIComponent(page.name);
return '#!' + page.name;
};
this.getCurrentPartial = function(){