@samitouri / QOS-React / commits / c5d1558a5b

Grammar fixes for a code comment (#10343)

Greg Hurrell committed Aug 1, 2017 at 17:20 UTC c5d1558a5b7182c621658f3c3ab65c23e84166d8
1 file changed +3 -3
src/renderers/shared/ReactDOMFrameScheduling.js
+3 -3
@@ -12,9 +12,9 @@
12
13 'use strict';
14
15 -// This a built-in polyfill for requestIdleCallback. It works by scheduling
16 -// a requestAnimationFrame, store the time for the start of the frame, then
17 -// schedule a postMessage which gets scheduled after paint. Within the
15 +// This is a built-in polyfill for requestIdleCallback. It works by scheduling
16 +// a requestAnimationFrame, storing the time for the start of the frame, then
17 +// scheduling a postMessage which gets scheduled after paint. Within the
18 // postMessage handler do as much work as possible until time + frame rate.
19 // By separating the idle call into a separate event tick we ensure that
20 // layout, paint and other browser work is counted against the available time.