A little cleaning

This commit is contained in:
Thomas FORGIONE
2015-05-22 14:21:11 +02:00
parent 74eda889be
commit fe34290802
3 changed files with 10 additions and 18 deletions

View File

@@ -21,11 +21,11 @@ var Info = function(id, finishAction) {
pg.connect(pgc.url, function(err, client, release) {
self.client = client;
self.release = release;
self.loadAll();
self.execute();
});
}
Info.prototype.loadAll = function() {
Info.prototype.execute = function() {
this.loadCameras();
this.loadCoins();
this.loadArrows();