Fix js error after implementing jshint

This commit is contained in:
Frederic Guillot 2017-01-02 20:13:12 -05:00
parent 9234657b17
commit 97bab4aaad
3 changed files with 4 additions and 1006 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,7 @@ Miniflux.Feed = (function() {
var queue_length = 5; var queue_length = 5;
var updateInterval = null; var updateInterval = null;
var feeds = [];
return { return {
Update: function(feed, callback) { Update: function(feed, callback) {
@ -45,7 +46,7 @@ Miniflux.Feed = (function() {
request.send(); request.send();
}, },
UpdateAll: function(nb_concurrent_requests) { UpdateAll: function(nb_concurrent_requests) {
var feeds = Array.prototype.slice.call(document.querySelectorAll("article:not([data-feed-disabled])")); feeds = Array.prototype.slice.call(document.querySelectorAll("article:not([data-feed-disabled])"));
// Check if a custom amount of concurrent requests was defined // Check if a custom amount of concurrent requests was defined
if (nb_concurrent_requests) { if (nb_concurrent_requests) {