style(platform): fix lint errors

This commit is contained in:
jgw96
2017-04-17 15:18:04 -05:00
parent c0df862398
commit 7d0f9f58e6
3 changed files with 4 additions and 2 deletions

View File

@ -246,3 +246,4 @@ export const PlatformConfigToken = new OpaqueToken('PLTCONFIG');
export function providePlatformConfigs() {
return PLATFORM_CONFIGS;
}

View File

@ -30,3 +30,4 @@ export function isWKWebView(plt: Platform): boolean {
export function isIosUIWebView(plt: Platform): boolean {
return isIos(plt) && !isWKWebView(plt) && !isSafari(plt);
}

View File

@ -458,7 +458,7 @@ describe('Platform', () => {
expect(plt.is('ipad')).toEqual(false);
expect(plt.is('tablet')).toEqual(false);
expect(plt.is('electron')).toEqual(true);
})
});
it('should set core platform for osx desktop firefox', () => {
plt.setQueryParams('');