Start of timeline code framework.
This commit is contained in:
@@ -65,6 +65,7 @@ var BabyStats = function(container) {
|
||||
];
|
||||
|
||||
this.intervals_ = {};
|
||||
this.displayDates_ = {};
|
||||
|
||||
this.buildStylesheet_();
|
||||
|
||||
@@ -215,6 +216,7 @@ BabyStats.prototype.handleMessage_ = function(isEvent, message) {
|
||||
}.bind(this));
|
||||
this.updateTileStatus_();
|
||||
this.updateDisplayPage_();
|
||||
this.updateDisplayDate_(message);
|
||||
}
|
||||
} else {
|
||||
console.log('Unknown message type:', message);
|
||||
@@ -818,3 +820,11 @@ BabyStats.prototype.updateDisplayPage_ = function() {
|
||||
}.bind(this));
|
||||
}.bind(this));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @param {Cosmopolite.typeMessage} message
|
||||
*/
|
||||
BabyStats.prototype.updateDisplayDate_ = function(message) {
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user