mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-18 07:50:22 +00:00
fix($locationProvider) hashPrefix's getter returned html5Mode + doc fix
This commit is contained in:
parent
039041e3ae
commit
e1e7aca9a6
1 changed files with 2 additions and 2 deletions
|
|
@ -447,13 +447,13 @@ function $LocationProvider(){
|
|||
hashPrefix = prefix;
|
||||
return this;
|
||||
} else {
|
||||
return html5Mode;
|
||||
return hashPrefix;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @ngdoc property
|
||||
* @name angular.module.ng.$locationProvider#hashPrefix
|
||||
* @name angular.module.ng.$locationProvider#html5Mode
|
||||
* @methodOf angular.module.ng.$locationProvider
|
||||
* @description
|
||||
* @param {string=} mode Use HTML5 strategy if available.
|
||||
|
|
|
|||
Loading…
Reference in a new issue