mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 01:26:58 +00:00
Remove unused splice function
This commit is contained in:
1 parent
56fde5a448
commit
22896470e3
1 file changed
-5
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user