Closed martinkadlec0 closed 12 years ago
Thanks for contribution. Greench or Eli will care with this and merge it. If you have any suggestion or contribution share with us.
You are right. Thanks for fixing that!
BTW, it is important to note that using setTimeout() will not actually update the CSS patches file as often as it is specified in the preferences. It will update it more often: each time the background process is loaded it will run the update function, THEN it will run it by the specified interval.
I'm not sure how the background process works. Is there one background process running for every page? In other words, if I had three tabs open, are there three instances of the background process running simultaneously?
Either way, I updated the CSS patches updater function. I will push it to Github soon.
There is only one background process per extension.
Excellent, thank you. That's good to know.
Hi, in backgroud.js on line 291 you have this code:
setTimeout(update(), (widget.preferences.getItem("update-interval") * 1000 * 60));
The first parameter of the setTimeout function should be the function, not its return value (which is "undefined" in this case bacuse "update" function has no "return")
So it should be imo:
setTimeout(update, (widget.preferences.getItem("update-interval") * 1000 * 60));