mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-16 12:14:14 +02:00
fix benchmarks
f
This commit is contained in:
@@ -20,7 +20,7 @@ export const input = {
|
||||
nodes: [
|
||||
{
|
||||
kind: 'text',
|
||||
ranges: [
|
||||
leaves: [
|
||||
{
|
||||
text: 'This is editable ',
|
||||
},
|
||||
|
@@ -5,7 +5,7 @@ import h from '../../test/helpers/h'
|
||||
import { __clear } from '../../lib/utils/memoize'
|
||||
|
||||
export default function (text) {
|
||||
text.getRanges()
|
||||
text.getLeaves()
|
||||
}
|
||||
|
||||
export function before(state) {
|
Reference in New Issue
Block a user