Commit graph

13 commits

Author SHA1 Message Date
Kevin MacMartin
52e1f93e4a Be a bit more clear about what the width/height settings are for 2015-07-03 11:55:36 -04:00
Kevin MacMartin
17c772c5c9 Use window.addEventListener rather than screen.addEventListener in the example, as the former isn't supported by (at least) chrome/chromium 2015-07-02 16:15:27 -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
c2cce79529 Fix demo url 2015-07-01 13:41:24 -04:00
Luke Evers
21973f23ad Adding a demo link 2015-07-01 12:36:07 -04:00
Luke Evers
7e9fa72a31 Remove callbacks in examples.
There's no need to put a function in a callback if we're doing absolutely nothing else with either callbacks.
2015-07-01 11:30:28 -04:00
Kevin MacMartin
67a46e4677 Remove the event variable from the onresize example 2015-06-30 18:03:42 -04:00
Kevin MacMartin
315f245c9c Add a description of the plugin to the README 2015-06-30 17:58:12 -04:00
Kevin MacMartin
a4f32cb75a Set filetype of the code to javascript 2015-06-30 17:47:55 -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
Luke Evers
37297df4ee Author links should include github link 2015-06-30 16:35:47 -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