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