Skip to content

Commit

Permalink
fix(polyfill): updated supported contexts for requestIdleCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Feb 7, 2019
1 parent e766b7c commit 5261d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constant/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 5261d13

Please sign in to comment.