Skip to content

Commit

Permalink
Grammar fixes for a code comment (facebook#10343)
Browse files Browse the repository at this point in the history
  • Loading branch information
wincent authored and gaearon committed Aug 2, 2017
1 parent 35e3133 commit c5d1558
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderers/shared/ReactDOMFrameScheduling.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

'use strict';

// This a built-in polyfill for requestIdleCallback. It works by scheduling
// a requestAnimationFrame, store the time for the start of the frame, then
// schedule a postMessage which gets scheduled after paint. Within the
// This is a built-in polyfill for requestIdleCallback. It works by scheduling
// a requestAnimationFrame, storing the time for the start of the frame, then
// scheduling a postMessage which gets scheduled after paint. Within the
// postMessage handler do as much work as possible until time + frame rate.
// By separating the idle call into a separate event tick we ensure that
// layout, paint and other browser work is counted against the available time.
Expand Down

0 comments on commit c5d1558

Please sign in to comment.