@@ -214,7 +214,7 @@ LocationUrl.prototype = {
214
214
* Return full url representation with all segments encoded according to rules specified in
215
215
* {@link http://www.ietf.org/rfc/rfc3986.txt RFC 3986}.
216
216
*
217
- * @return {string }
217
+ * @return {string } full url
218
218
*/
219
219
absUrl : locationGetter ( '$$absUrl' ) ,
220
220
@@ -231,7 +231,7 @@ LocationUrl.prototype = {
231
231
* Change path, search and hash, when called with parameter and return `$location`.
232
232
*
233
233
* @param {string= } url New url without base prefix (e.g. `/path?a=b#hash`)
234
- * @return {string }
234
+ * @return {string } url
235
235
*/
236
236
url : function ( url , replace ) {
237
237
if ( isUndefined ( url ) )
@@ -255,7 +255,7 @@ LocationUrl.prototype = {
255
255
*
256
256
* Return protocol of current url.
257
257
*
258
- * @return {string }
258
+ * @return {string } protocol of current url
259
259
*/
260
260
protocol : locationGetter ( '$$protocol' ) ,
261
261
@@ -269,7 +269,7 @@ LocationUrl.prototype = {
269
269
*
270
270
* Return host of current url.
271
271
*
272
- * @return {string }
272
+ * @return {string } host of current url.
273
273
*/
274
274
host : locationGetter ( '$$host' ) ,
275
275
@@ -283,7 +283,7 @@ LocationUrl.prototype = {
283
283
*
284
284
* Return port of current url.
285
285
*
286
- * @return {Number }
286
+ * @return {Number } port
287
287
*/
288
288
port : locationGetter ( '$$port' ) ,
289
289
@@ -303,7 +303,7 @@ LocationUrl.prototype = {
303
303
* if it is missing.
304
304
*
305
305
* @param {string= } path New path
306
- * @return {string }
306
+ * @return {string } path
307
307
*/
308
308
path : locationGetterSetter ( '$$path' , function ( path ) {
309
309
return path . charAt ( 0 ) == '/' ? path : '/' + path ;
@@ -325,7 +325,7 @@ LocationUrl.prototype = {
325
325
* @param {string= } paramValue If `search` is a string, then `paramValue` will override only a
326
326
* single search parameter. If the value is `null`, the parameter will be deleted.
327
327
*
328
- * @return {string }
328
+ * @return {string } search
329
329
*/
330
330
search : function ( search , paramValue ) {
331
331
if ( isUndefined ( search ) )
@@ -358,7 +358,7 @@ LocationUrl.prototype = {
358
358
* Change hash fragment when called with parameter and return `$location`.
359
359
*
360
360
* @param {string= } hash New hash fragment
361
- * @return {string }
361
+ * @return {string } hash
362
362
*/
363
363
hash : locationGetterSetter ( '$$hash' , identity ) ,
364
364
0 commit comments