diff options
author | Wilson Page <wilsonpage@me.com> | 2013-08-27 00:09:25 +0100 |
---|---|---|
committer | Wilson Page <wilsonpage@me.com> | 2013-08-27 00:09:25 +0100 |
commit | 6f18d471f6317ec54de3bbe4880845c6354503ca (patch) | |
tree | bf41ddbf3bd7d45cb007d6886e4f9b187ebc46e5 | |
parent | e1c73da84ba3e34a387f77810de642141ad07eec (diff) | |
download | fastdom-6f18d471f6317ec54de3bbe4880845c6354503ca.zip fastdom-6f18d471f6317ec54de3bbe4880845c6354503ca.tar.gz fastdom-6f18d471f6317ec54de3bbe4880845c6354503ca.tar.bz2 |
Docs
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,9 +51,9 @@ Old fashioned [download](http://github.com/wilsonpage/dom-batch/raw/master/lib/d DOM-Batch works as a regulatory layer between your app/library and the DOM. -Each read/write job is added to a corresponding read/write queue. The queues are emptied (reads, then writes) at the turn of the next frame using `[window.requestAnimationFrame](https://developer.mozilla.org/en-US/docs/Web/API/window.requestAnimationFrame)`. By batching DOM access we can avoid unnecessary document reflows and speed up layout perfomance dramatically. +Each read/write job is added to a corresponding read/write queue. The queues are emptied (reads, then writes) at the turn of the next frame using [`window.requestAnimationFrame`](https://developer.mozilla.org/en-US/docs/Web/API/window.requestAnimationFrame). By batching DOM access we can avoid unnecessary document reflows and speed up layout perfomance dramatically. -DOM-Batch aims to behave like a singleton across *all* modules in your app. When any module requires `'dom-batch'` they should get the same instance back, meaning DOM-Batch can harmonize app-wide DOM access. Potentially a third-party library could depend on DOM-Batch, and better intrgrate within an app that itself uses it. +DOM-Batch aims to behave like a singleton across *all* modules in your app. When any module requires `'dom-batch'` they get the same instance back, meaning DOM-Batch can harmonize app-wide DOM access. Potentially a third-party library could depend on DOM-Batch, and better intrgrate within an app that itself uses it. ## API |