1
0
Fork 0
mirror of https://github.com/sbrl/SnoozeSquad.git synced 2018-01-10 21:33:44 +00:00

Put attributes in code blocks in README.

This commit is contained in:
Starbeamrainbowlabs 2016-05-28 17:05:22 +01:00
parent 07ff04e683
commit 661a80cde9

View file

@ -35,9 +35,9 @@ If for some reason the `data-src` attribute is unsuitable, you change change it
## Options ## Options
You can pass Snooze Squad a number of options. Below is an explanation of each: You can pass Snooze Squad a number of options. Below is an explanation of each:
* range - The number of screens within the current screen an image is allowed to get before it is woken up. * `range` - The number of screens within the current screen an image is allowed to get before it is woken up.
* attributeName - The name of the attribute that we should copy over to wake image up. * `attributeName` - The name of the attribute that we should copy over to wake image up.
* updateInterval - The maximum interval at which we should update. Helps to prevent lag. * `updateInterval` - The maximum interval at which we should update. Helps to prevent lag.
## Development ## Development
Snooze Squad development isn't too complicated either. You'll need [Node.js] and make installed if you want to build / minify Snooze Squad. Snooze Squad development isn't too complicated either. You'll need [Node.js] and make installed if you want to build / minify Snooze Squad.