REFACToR: removes useless assignment to local variable (#9675)

This commit is contained in:
Joffrey JAFFEUX 2020-05-07 16:34:36 +02:00 committed by GitHub
parent a04b226c2b
commit a078b086ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ const rule = {
token = state.push("quote_controls_open", "div", 1);
token.attrs = [["class", "quote-controls"]];
token = state.push("quote_controls_close", "div", -1);
state.push("quote_controls_close", "div", -1);
if (avatarImg) {
token = state.push("html_inline", "", 0);
@ -144,10 +144,10 @@ const rule = {
token.content = ` ${displayName}:`;
}
token = state.push("quote_header_close", "div", -1);
state.push("quote_header_close", "div", -1);
}
token = state.push("bbcode_open", "blockquote", 1);
state.push("bbcode_open", "blockquote", 1);
},
after: function(state) {