Added proper User-Agent string to Facebook calendar call, and various fixed spelling of 'exist'.

This commit is contained in:
Ashley M. Kirchner
2016-06-04 20:32:55 -06:00
parent 8d1ef5291f
commit 486956b762
7 changed files with 17 additions and 12 deletions

View File

@@ -25,8 +25,8 @@ module.exports = NodeHelper.create({
},
/* createFetcher(url, reloadInterval)
* Creates a fetcher for a new url if it doesn't exsist yet.
* Otherwise it reoses the exsisting one.
* Creates a fetcher for a new url if it doesn't exist yet.
* Otherwise it reoses the existing one.
*
* attribute url string - URL of the news feed.
* attribute reloadInterval number - Reload interval in milliseconds.
@@ -62,7 +62,7 @@ module.exports = NodeHelper.create({
self.fetchers[url] = fetcher;
} else {
console.log("Use exsisting news fetcher for url: " + url);
console.log("Use existing news fetcher for url: " + url);
fetcher = self.fetchers[url];
fetcher.setReloadInterval(reloadInterval);
fetcher.broadcastItems();