refactor: clean up unused sdkVersion lazy eval (#6194)

This commit is contained in:
Manol Donev
2018-08-17 17:04:44 +03:00
committed by GitHub
parent 22cb539c9d
commit 0f2192d4d7

View File

@ -22,9 +22,6 @@ import { profile } from "../../profiling";
// TODO: Remove this and get it from global to decouple builder for angular
import { createViewFromEntry } from "../builder";
import { device } from "../../platform";
import lazy from "../../utils/lazy";
export * from "./frame-common";
const INTENT_EXTRA = "com.tns.activity";
@ -35,8 +32,6 @@ const CALLBACKS = "_callbacks";
const ownerSymbol = Symbol("_owner");
const activityRootViewsMap = new Map<number, WeakRef<View>>();
const sdkVersion = lazy(() => parseInt(device.sdkVersion));
let navDepth = -1;
let fragmentId = -1;
export let moduleLoaded: boolean;