Changes

Jump to navigation Jump to search
m
no edit summary
Line 24: Line 24:  
}
 
}
 
}
 
}
 +
               
 +
                var queueshelf = {};
 +
this.wbqueue = function(id) {
 +
if ( queueshelf[id] != undefined ) {
 +
$.getJSON('/w/api.php?action=wbgetentities&format=json&ids=' + id, function(json) {
 +
var h = json.entities;
 +
queueshelf[id] = h;
 +
return h;
 +
})
 +
} else {
 +
console.log("getting from store");
 +
return queueshelf[id];
 +
}
 +
}
 +
    
// the list of private helper functions, could not be accessed from outside
 
// the list of private helper functions, could not be accessed from outside
530

edits

Navigation menu