feat: 清除不必要的代码

merge/3/MERGE
coding 2018-05-18 15:12:35 +00:00
parent 823ff1c70b
commit fcc1f18336
1 changed files with 0 additions and 8 deletions

View File

@ -3,13 +3,6 @@ var chat = require('api/chat');
var server = require('api/server');
var ChatMessagePart = function () {
var text;
var clickEventAction;
var clickEventValue;
var hoverEventAction;
var hoverEventValue;
var insertion;
this.click = function (action, value) {
this.clickEventAction = action;
this.clickEventValue = value;
@ -47,7 +40,6 @@ var ChatMessagePart = function () {
var Tellraw = function () {
var parts = [new ChatMessagePart()];
var self = this;
var cache = null;
this.then = function (part) {
if (typeof part === "string") {