Skip to content

Commit 5ef5620

Browse files
committed
Merge pull request daniel-lundin#4 from joar/patch-1
Improved(?) grammar in docs/index
2 parents da3beaf + 2e8b7b6 commit 5ef5620

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ <h2>Introduction</h2>
8484

8585
<p>snabbt.js is built to be fast. It will only animate things that modern browsers can animate <a href="http://www.html5rocks.com/en/tutorials/speed/high-performance-animations/" target="_blank">cheaply:</a> transforms and opacity. The goal is to make a library that will let the user make smooth animations without needing to know too much about browser rendering.</p>
8686

87-
<p>Note: For convienience, width and height are animatable to, but be aware of those. They may cause page reflows and slow down your animations.</p>
87+
<p>Note: For convenience, width and height are animatable too, but beware since they may cause page reflows and slow down your animations.</p>
8888

8989
<h4>Limitations</h4>
9090
<ul>
91-
<li>All transforms work on pixels or radians. Any unit conversion has to be done fore-hand.</li>
91+
<li>All transforms work on pixels or radians. Any unit conversion has to be done beforehand.</li>
9292
<li>No abritrary propery animations, e.g. colors, padding, margin or line height animations.</li>
9393
<li>For performance reasons, snabbt.js never queries the DOM. This means that in some cases you need to store end transforms yourself.</li>
9494
</ul>

0 commit comments

Comments
 (0)