diff options
| author | Konstantin Stepanov | 2012-01-17 18:04:58 +0300 |
|---|---|---|
| committer | Igor Minar | 2012-01-17 11:21:20 -0800 |
| commit | e1e7aca9a6036bfc0a4fbc7f63d0aafb533c3348 (patch) | |
| tree | 0584008219e0f2234d3b3ef28f69d9dad112a911 | |
| parent | 039041e3ae77afe51c0f8d9eab0ea12c9412d6f2 (diff) | |
| download | angular.js-e1e7aca9a6036bfc0a4fbc7f63d0aafb533c3348.tar.bz2 | |
fix($locationProvider) hashPrefix's getter returned html5Mode + doc fix
| -rw-r--r-- | src/service/location.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service/location.js b/src/service/location.js index 3e8ba0c3..43e6ce52 100644 --- a/src/service/location.js +++ b/src/service/location.js @@ -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. |
