Remove unused splice function

This commit is contained in:
G.Ambatte committed 2022-09-24 13:36:14 +12:00
1 parent 56fde5a448
commit 22896470e3
1 file changed
-5
-5
View File
@@ -19,11 +19,6 @@ const DEFAULT_STYLE_TEXT = dedent`
color: black;
}`;
const splice = function(str, index, inject){
return str.slice(0, index) + inject + str.slice(index);
};
const Editor = createClass({
displayName : 'Editor',