mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-28 07:23:59 +00:00
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:
parent
7f339a1782
commit
3c7874b07b
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ function DocsController($location, $browser, $window) {
|
||||||
window.$root = this.$root;
|
window.$root = this.$root;
|
||||||
|
|
||||||
this.getUrl = function(page){
|
this.getUrl = function(page){
|
||||||
return '#!' + encodeURIComponent(page.name);
|
return '#!' + page.name;
|
||||||
};
|
};
|
||||||
|
|
||||||
this.getCurrentPartial = function(){
|
this.getCurrentPartial = function(){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue