chore: clang-reformat
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
import {Injectable} from '@angular/core';
|
||||
import { Animation } from '../src/animate/animation';
|
||||
import { CssAnimationOptions } from '../src/animate/css_animation_options';
|
||||
import { BrowserDetails } from '../src/animate/browser_details';
|
||||
import { AnimationBuilder } from '../src/animate/animation_builder';
|
||||
import { CssAnimationBuilder } from '../src/animate/css_animation_builder';
|
||||
import {Animation} from '../src/animate/animation';
|
||||
import {CssAnimationOptions} from '../src/animate/css_animation_options';
|
||||
import {BrowserDetails} from '../src/animate/browser_details';
|
||||
import {AnimationBuilder} from '../src/animate/animation_builder';
|
||||
import {CssAnimationBuilder} from '../src/animate/css_animation_builder';
|
||||
|
||||
@Injectable()
|
||||
export class MockAnimationBuilder extends AnimationBuilder {
|
||||
|
@ -61,7 +61,4 @@ export const ADDITIONAL_TEST_BROWSER_PROVIDERS: Array<any /*Type | Provider | an
|
||||
* Default application providers for testing without a compiler.
|
||||
*/
|
||||
export const TEST_BROWSER_STATIC_APPLICATION_PROVIDERS: Array<any /*Type | Provider | any[]*/> =
|
||||
/*@ts2dart_const*/[
|
||||
BROWSER_APP_COMMON_PROVIDERS,
|
||||
ADDITIONAL_TEST_BROWSER_PROVIDERS
|
||||
];
|
||||
/*@ts2dart_const*/[BROWSER_APP_COMMON_PROVIDERS, ADDITIONAL_TEST_BROWSER_PROVIDERS];
|
||||
|
@ -4,7 +4,7 @@ import {isPresent, isString, RegExpWrapper, StringWrapper, RegExp} from '../src/
|
||||
|
||||
export class BrowserDetection {
|
||||
private _overrideUa: string;
|
||||
private get _ua():string {
|
||||
private get _ua(): string {
|
||||
if (isPresent(this._overrideUa)) {
|
||||
return this._overrideUa;
|
||||
} else {
|
||||
@ -14,9 +14,7 @@ export class BrowserDetection {
|
||||
|
||||
static setup() { browserDetection = new BrowserDetection(null); }
|
||||
|
||||
constructor(ua: string) {
|
||||
this._overrideUa = ua;
|
||||
}
|
||||
constructor(ua: string) { this._overrideUa = ua; }
|
||||
|
||||
get isFirefox(): boolean { return this._ua.indexOf('Firefox') > -1; }
|
||||
|
||||
|
Reference in New Issue
Block a user