Prepare deployment
This commit is contained in:
parent
11fc37021d
commit
b3edbdd0c2
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
# Fri Jun 14 00:26:11 GMT 2013
|
||||
# Sat Jun 15 02:11:13 GMT 2013
|
||||
|
||||
CACHE:
|
||||
index.html
|
||||
|
5
js/main-min.js
vendored
5
js/main-min.js
vendored
@ -4216,9 +4216,8 @@ define("libs/FileSaver", function() {}), define("utils", [ "jquery", "underscore
|
||||
}, o.updateCurrentTime = function() {
|
||||
o.currentTime = new Date().getTime();
|
||||
}, o.updateCurrentTime(), o.storeAttributes = function(e) {
|
||||
var n = e.syncIndex || e.publishIndex;
|
||||
e = t.omit(e, "syncIndex", "publishIndex"), e.provider = e.provider.providerId,
|
||||
localStorage[n] = JSON.stringify(e);
|
||||
var n = e.syncIndex || e.publishIndex, i = t.omit(e, "syncIndex", "publishIndex", "provider");
|
||||
i.provider = e.provider.providerId, localStorage[n] = JSON.stringify(i);
|
||||
}, o.retrieveIndexArray = function(e) {
|
||||
try {
|
||||
return t.compact(localStorage[e].split(";"));
|
||||
|
@ -200,10 +200,10 @@ define([
|
||||
utils.storeAttributes = function(attributes) {
|
||||
var storeIndex = attributes.syncIndex || attributes.publishIndex;
|
||||
// Don't store sync/publish index
|
||||
attributes = _.omit(attributes, "syncIndex", "publishIndex");
|
||||
var storedAttributes = _.omit(attributes, "syncIndex", "publishIndex", "provider");
|
||||
// Store providerId instead of provider
|
||||
attributes.provider = attributes.provider.providerId;
|
||||
localStorage[storeIndex] = JSON.stringify(attributes);
|
||||
storedAttributes.provider = attributes.provider.providerId;
|
||||
localStorage[storeIndex] = JSON.stringify(storedAttributes);
|
||||
};
|
||||
|
||||
// Retrieve/parse an index array from localStorage
|
||||
|
Loading…
Reference in New Issue
Block a user