From 5261d1380b820eb9099319afc14d221087a1d816 Mon Sep 17 00:00:00 2001 From: wessberg Date: Thu, 7 Feb 2019 15:58:53 +0100 Subject: [PATCH] fix(polyfill): updated supported contexts for requestIdleCallback --- src/constant/constant.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constant/constant.ts b/src/constant/constant.ts index 1d0804a..cbadb98 100644 --- a/src/constant/constant.ts +++ b/src/constant/constant.ts @@ -3,7 +3,7 @@ import {environment} from "../environment/environment"; // @ts-ignore import tempDir from "temp-dir"; import {join} from "path"; -import {ALL_CONTEXTS, WINDOW_CONTEXT, WINDOW_NODE_CONTEXT} from "../polyfill/polyfill-context"; +import {ALL_CONTEXTS, WINDOW_CONTEXT} from "../polyfill/polyfill-context"; // tslint:disable:no-duplicate-string @@ -124,7 +124,7 @@ export const constant: IConstant = { features: ["requestidlecallback"], version: environment.NPM_PACKAGE_DEPENDENCIES_REQUESTIDLECALLBACK, dependencies: ["requestanimationframe"], - contexts: WINDOW_NODE_CONTEXT + contexts: WINDOW_CONTEXT }, "request-animation-frame": { library: "requestanimationframe",