mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-26 14:43:59 +00:00
docs($browser): add jsdoc tags and fix typo
This commit is contained in:
parent
a53d197db3
commit
1b5217b1d6
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>
|
* Returns current <base href>
|
||||||
* (always relative - without domain)
|
* (always relative - without domain)
|
||||||
*
|
*
|
||||||
* @returns {string=}
|
* @returns {string=} current <base href>
|
||||||
*/
|
*/
|
||||||
self.baseHref = function() {
|
self.baseHref = function() {
|
||||||
var href = baseElement.attr('href');
|
var href = baseElement.attr('href');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue