mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
doc($browser): remove duplication of $browser to docs
This was causing to show up the "$browser" twice in the menu.
This commit is contained in:
parent
40ad543d27
commit
842741ee99
1 changed files with 1 additions and 9 deletions
|
|
@ -1,15 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
var browserSingleton;
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$browser
|
||||
* @requires $log
|
||||
*
|
||||
* @description
|
||||
* Represents the browser.
|
||||
*/
|
||||
|
||||
angularService('$browser', function($log){
|
||||
if (!browserSingleton) {
|
||||
browserSingleton = new Browser(window, jqLite(window.document), jqLite(window.document.body),
|
||||
|
|
|
|||
Loading…
Reference in a new issue