mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-11 15:37:55 +00:00
renaming load/storeSessionData functions
This commit is contained in:
parent
1e66e5c608
commit
97a65c7b7e
@ -97,7 +97,7 @@ var InterfaceFunctions = function()
|
||||
}
|
||||
});
|
||||
|
||||
loadSessionData();
|
||||
loadFollowingSessionData();
|
||||
//geting followings of following...
|
||||
for(var i = 0; i < followingUsers.length; i++) {
|
||||
if (typeof(followingsFollowings[followingUsers[i]]) === 'undefined') {
|
||||
@ -115,7 +115,7 @@ var InterfaceFunctions = function()
|
||||
}, followingUsers[i]);
|
||||
}
|
||||
}
|
||||
storeSessionData();
|
||||
storeFollowingSessionData();
|
||||
|
||||
setTimeout("getRandomFollowSuggestion(processSuggestion)", 1000);
|
||||
setTimeout("getRandomFollowSuggestion(processSuggestion)", 1000);
|
||||
|
@ -45,7 +45,7 @@ function saveFollowingToStorage() {
|
||||
}
|
||||
|
||||
// load followers & following's followings from sessionStorage
|
||||
function loadSessionData() {
|
||||
function loadFollowingSessionData() {
|
||||
var ns = $.initNamespaceStorage(defaultScreenName);
|
||||
|
||||
if (ns.sessionStorage.isSet("followingsFollowings"))
|
||||
@ -59,7 +59,7 @@ function loadSessionData() {
|
||||
}
|
||||
|
||||
// save list of followers & following's followings to sessionStorage
|
||||
function storeSessionData() {
|
||||
function storeFollowingSessionData() {
|
||||
var ns = $.initNamespaceStorage(defaultScreenName);
|
||||
ns.sessionStorage.set("followingsFollowings", followingsFollowings);
|
||||
ns.sessionStorage.set("followers", knownFollowers);
|
||||
|
@ -231,7 +231,7 @@ function getFullname( username, item ){
|
||||
notFollowers.push(args.username);
|
||||
}
|
||||
|
||||
storeSessionData();
|
||||
storeFollowingSessionData();
|
||||
}, {"user": defaultScreenName, "item": item, "username": username});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user