Skip to content

Commit c216368

Browse files
author
root
committed
adjust code style
1 parent 817e84a commit c216368

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ function parseStyle(string) {
9292
apply.push(codes[i]);
9393
}
9494
else apply.push(codes[i]);
95-
if (apply.lastIndexOf("§r") > -1) apply = apply.slice( apply.lastIndexOf("§r") + 1 );
96-
tmpStr = string.substring( indices[i], indices[i + 1] );
97-
final.appendChild( applyCode(tmpStr, apply) );
95+
if (apply.lastIndexOf("§r") > -1) apply = apply.slice(apply.lastIndexOf("§r") + 1);
96+
tmpStr = string.substring(indices[i], indices[i + 1]);
97+
final.appendChild(applyCode(tmpStr, apply));
9898
}
9999
return final;
100100
}

0 commit comments

Comments
 (0)