Skip to content

Commit 3fe6be8

Browse files
petebacondarwinjamesdaily
authored andcommitted
docs(): parameter for html5Mode is boolean
1 parent 7adbc0d commit 3fe6be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/location.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ function $LocationProvider(){
503503
* @name ng.$locationProvider#html5Mode
504504
* @methodOf ng.$locationProvider
505505
* @description
506-
* @param {string=} mode Use HTML5 strategy if available.
506+
* @param {boolean=} mode Use HTML5 strategy if available.
507507
* @returns {*} current value if used as getter or itself (chaining) if used as setter
508508
*/
509509
this.html5Mode = function(mode) {

0 commit comments

Comments
 (0)