Skip to content

Commit

Permalink
Compose: Drop explicit window reference from withSafeTimeout (#9266)
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham authored and gziolo committed Aug 25, 2018
1 parent f544006 commit a6ac21d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/compose/src/with-safe-timeout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ import { Component } from '@wordpress/element';
*/
import createHigherOrderComponent from '../create-higher-order-component';

/**
* Browser dependencies
*/
const { clearTimeout, setTimeout } = window;

/**
* A higher-order component used to provide and manage delayed function calls
* that ought to be bound to a component's lifecycle.
Expand Down

0 comments on commit a6ac21d

Please sign in to comment.