2015-06-28 22:04:32 +00:00
|
|
|
# HackTimer
|
|
|
|
Avoid timers throttling by browser when tab is inactive
|
|
|
|
|
2015-07-01 15:43:38 +00:00
|
|
|
# Usage:
|
2016-10-06 14:54:27 +00:00
|
|
|
Place script reference to **HackTimer.js** (or HackTimer.min.js) before any other JavaScript.
|
|
|
|
This includes library's such as jQuery as otherwise timed events such as fadeOut and fadeIn will break.
|
2015-07-01 15:43:38 +00:00
|
|
|
|
2015-09-27 11:37:48 +00:00
|
|
|
# NPM
|
2017-05-28 12:40:50 +00:00
|
|
|
Command: `npm install hacktimer`
|
2015-09-27 11:37:48 +00:00
|
|
|
|
2016-01-20 19:37:37 +00:00
|
|
|
Latest version is 1.1.0
|
|
|
|
|
2015-09-27 11:37:48 +00:00
|
|
|
Registry URL: https://www.myget.org/F/hack-timer/npm
|
|
|
|
|
2015-09-27 10:42:38 +00:00
|
|
|
# Bower
|
|
|
|
Command: `bower install hacktimer`
|
|
|
|
|
2016-01-20 19:37:37 +00:00
|
|
|
Latest version is 1.1.0
|
|
|
|
|
2016-01-20 19:32:41 +00:00
|
|
|
Registry: https://www.myget.org/F/hack-timer/bower/
|
2015-09-27 10:42:38 +00:00
|
|
|
|
|
|
|
You can specify bower registry in file `.bowerrc` in your working directory
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"registry": {
|
|
|
|
"search": [
|
2016-01-20 19:32:41 +00:00
|
|
|
"https://www.myget.org/F/hack-timer/bower/",
|
2015-09-27 10:42:38 +00:00
|
|
|
"https://bower.herokuapp.com"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|