mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs($browser): add jsdoc tags and fix typo
This commit is contained in:
parent
b5d48ee1f0
commit
e87c88914f
1 changed files with 5 additions and 1 deletions
|
|
@ -238,10 +238,14 @@ function Browser(window, document, $log, $sniffer) {
|
|||
//////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* @name ng.$browser#baseHref
|
||||
* @methodOf ng.$browser
|
||||
*
|
||||
* @description
|
||||
* Returns current <base href>
|
||||
* (always relative - without domain)
|
||||
*
|
||||
* @returns {string=}
|
||||
* @returns {string=} current <base href>
|
||||
*/
|
||||
self.baseHref = function() {
|
||||
var href = baseElement.attr('href');
|
||||
|
|
|
|||
Loading…
Reference in a new issue