12 lines
325 B
JavaScript
12 lines
325 B
JavaScript
// A data model representing current session data. You can put transient
|
|
// data here you might want later. It is not stored or serialized anywhere.
|
|
var Session = Discourse.Model.extend({
|
|
init: function() {
|
|
this.set('highestSeenByTopic', {});
|
|
}
|
|
});
|
|
|
|
Session.reopenClass(Discourse.Singleton);
|
|
|
|
export default Session;
|