mirror of
https://github.com/discourse/discourse.git
synced 2025-01-26 15:00:44 +08:00
16 lines
225 B
JavaScript
16 lines
225 B
JavaScript
export default class QuoteState {
|
|
constructor() {
|
|
this.clear();
|
|
}
|
|
|
|
selected(postId, buffer) {
|
|
this.postId = postId;
|
|
this.buffer = buffer;
|
|
}
|
|
|
|
clear() {
|
|
this.buffer = '';
|
|
this.postId = null;
|
|
}
|
|
}
|