fix up project

This commit is contained in:
Luke Pulverenti 2015-05-28 22:53:05 -04:00
parent 6cbc470b0e
commit bb1d91b46a

View File

@ -8,12 +8,14 @@
var self = this;
var credentials;
var key = 'servercredentials4';
var key = 'servercredentials3';
function ensure() {
credentials = credentials || JSON.parse(appStorage.getItem(key) || '{}');
credentials.Servers = credentials.Servers || [];
credentials.Servers = credentials.Servers || credentials.servers || [];
credentials.servers = null;
}
function get() {