Commit graph

12 commits

Author SHA1 Message Date
Kevin MacMartin
7378d74b65 Update one more comment to reflect changes since writing it 2015-07-02 15:15:17 -04:00
Kevin MacMartin
7c1a8a5070 Update comments to reflect changes made since writing them 2015-07-02 15:14:23 -04:00
Kevin MacMartin
b4ca0e07f6 Swap middle with center in the comments 2015-07-02 15:10:53 -04:00
Kevin MacMartin
09752ed55a Touch up comments and formatting 2015-07-02 14:35:51 -04:00
Kevin MacMartin
fc9f124c7c Fix parent position check before applying relative style if none of the valid positions are used 2015-07-02 13:05:28 -04:00
Kevin MacMartin
ae68564e88 Use an array comparison to check for a valid parent position rather than three separate comparisons 2015-07-02 11:41:37 -04:00
Luke Evers
5226ead17d Use center instead of middle everywhere.
With CSS background positioning, the word `center` is generally used.
This is pretty much that, but for any element.
2015-07-01 14:05:48 -04:00
Luke Evers
f59b874962 Don't use a callback when there's no reason to. 2015-07-01 12:34:24 -04:00
Kevin MacMartin
9785bf9328 Remove scale/position events and add 'update' function that will run this functionality as needed, and update the README to reflect this change 2015-06-30 17:40:10 -04:00
Kevin MacMartin
82e8f01a65 Remove the onload scale event trigger 2015-06-30 17:21:18 -04:00
Luke Evers
9aa7ecc880 Use || instead of ?: 2015-06-30 16:34:11 -04:00
Kevin MacMartin
37288bbf11 Add a working implementation of the library and a README 2015-06-30 16:10:22 -04:00