Refactoring based on feedback

Refactoring controller

Migrating functions off controller onto service class

Simplified modes

Adding comments

Removed unnecessary validation

Fixing testing issues
This commit is contained in:
Henry
2016-08-10 18:22:30 -07:00
committed by Andrew Henry
parent 4ae6da0334
commit 4cf6126d35
20 changed files with 576 additions and 661 deletions

View File

@ -30,6 +30,7 @@ define(['../../../platform/features/conductor-v2/conductor/src/timeSystems/Local
this.metadata = {
key: 'test-lad',
mode: 'LAD',
cssclass: 'icon-clock',
label: 'Latest Available Data',
name: 'Latest available data',
@ -38,9 +39,5 @@ define(['../../../platform/features/conductor-v2/conductor/src/timeSystems/Local
}
LADTickSource.prototype = Object.create(LocalClock.prototype);
LADTickSource.prototype.type = function () {
return 'data';
};
return LADTickSource;
});