docs(): parameter for html5Mode is boolean

This commit is contained in:
Pete Bacon Darwin 2013-09-05 10:01:50 +01:00
parent 7ed5599a4b
commit 21b1d22563

View file

@ -503,7 +503,7 @@ function $LocationProvider(){
* @name ng.$locationProvider#html5Mode
* @methodOf ng.$locationProvider
* @description
* @param {string=} mode Use HTML5 strategy if available.
* @param {boolean=} mode Use HTML5 strategy if available.
* @returns {*} current value if used as getter or itself (chaining) if used as setter
*/
this.html5Mode = function(mode) {