22 lines
414 B
JavaScript
22 lines
414 B
JavaScript
|
export class ContentController{
|
||
|
|
||
|
/* (1) Construct default attributes
|
||
|
*
|
||
|
---------------------------------------------------------*/
|
||
|
constructor(){
|
||
|
|
||
|
/* (1) Initialize content data */
|
||
|
this.messages = [];
|
||
|
this.users = [];
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
/* (2) Getters
|
||
|
*
|
||
|
---------------------------------------------------------*/
|
||
|
get cid(){ return gs.get.channel.current; }
|
||
|
get rid(){ return gs.get.room.text.current; }
|
||
|
|
||
|
|
||
|
}
|