chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-09 23:43:28 -07:00
parent 0ae8dba962
commit 8100cf7089
89 changed files with 493 additions and 704 deletions

View File

@@ -5,6 +5,7 @@ import { Trace } from '../trace';
export { ad } from './native-helper';
export * from './utils-common';
export { Source } from './debug';
const MIN_URI_SHARE_RESTRICTED_APK_VERSION = 24;

View File

@@ -1,6 +1,7 @@
import { dip, px } from '../ui/core/view';
export * from './mainthread-helper';
export { Source } from './debug';
export const RESOURCE_PREFIX: string;
export const FILE_PREFIX: string;

View File

@@ -3,6 +3,7 @@ import { Trace } from '../trace';
export { ios } from './native-helper';
export * from './utils-common';
export { Source } from './debug';
export function openFile(filePath: string): boolean {
try {

View File

@@ -27,7 +27,7 @@ export function isObject(value: any): boolean {
}
export function isUndefined(value: any): boolean {
return value === undefined;
return typeof value === 'undefined';
}
export function isDefined(value: any): boolean {
@@ -35,7 +35,7 @@ export function isDefined(value: any): boolean {
}
export function isNullOrUndefined(value: any): boolean {
return value === undefined || value === null;
return typeof value === 'undefined' || value === null;
}
export function verifyCallback(value: any) {