chmod all files, rsync for deploy, cdn support, build page borked

This commit is contained in:
Colin McLeod
2015-05-25 17:36:48 -07:00
parent 7bab67deff
commit 0a7494ebcb
148 changed files with 150 additions and 153 deletions

8
app/js/service-persist.js Normal file → Executable file
View File

@@ -90,10 +90,10 @@ angular.module('app').service('Persist', ['$window','lodash', function ($window,
this.comparisons[name] = {
facets: facets,
builds: _.map(builds, function (b) { return {shipId: b.id, buildName: b.buildName }; })
}
};
localStorage.setItem(LS_KEY_COMPARISONS, angular.toJson(this.comparisons));
this.state.hasComparisons = true;
}
};
/**
* [getComparison description]
@@ -105,7 +105,7 @@ angular.module('app').service('Persist', ['$window','lodash', function ($window,
return this.comparisons[name];
}
return null;
}
};
/**
* Removes the comparison from localstorage.
@@ -117,7 +117,7 @@ angular.module('app').service('Persist', ['$window','lodash', function ($window,
localStorage.setItem(LS_KEY_COMPARISONS, angular.toJson(this.comparisons));
this.state.hasComparisons = Object.keys(this.comparisons).length > 0;
}
}
};
/**
* Delete all builds and comparisons from localStorage