Changed time_factor to 0.5, changed the stored tweets to 1000, changed the displayed tweets to 100
This commit is contained in:
@@ -68,7 +68,7 @@ var process_entities = function(message, entities) {
|
||||
|
||||
block.fn.tweets = function(config) {
|
||||
var options = $.extend({
|
||||
memory: 20
|
||||
memory: 100
|
||||
}, config);
|
||||
|
||||
// store list for later
|
||||
@@ -81,7 +81,7 @@ block.fn.tweets = function(config) {
|
||||
tweets = window.sessionStorage.getItem('tweets');
|
||||
tweets = JSON.parse(tweets);
|
||||
tweets.push(tweet);
|
||||
var localMemory = 100;
|
||||
var localMemory = 1000;
|
||||
if(tweets.length >= localMemory) {
|
||||
tweets.shift();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user