Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e87c889

Browse files
btesserpetebacondarwin
authored andcommitted
docs($browser): add jsdoc tags and fix typo
1 parent b5d48ee commit e87c889

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ng/browser.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,14 @@ function Browser(window, document, $log, $sniffer) {
238238
//////////////////////////////////////////////////////////////
239239

240240
/**
241+
* @name ng.$browser#baseHref
242+
* @methodOf ng.$browser
243+
*
244+
* @description
241245
* Returns current <base href>
242246
* (always relative - without domain)
243247
*
244-
* @returns {string=}
248+
* @returns {string=} current <base href>
245249
*/
246250
self.baseHref = function() {
247251
var href = baseElement.attr('href');

0 commit comments

Comments
 (0)