1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-17 20:51:20 +02:00

fix benchmarks

f
This commit is contained in:
Ian Storm Taylor
2017-10-25 17:17:00 -07:00
parent 8b72534f63
commit 1777fc3959
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ export const input = {
nodes: [ nodes: [
{ {
kind: 'text', kind: 'text',
ranges: [ leaves: [
{ {
text: 'This is editable ', text: 'This is editable ',
}, },

View File

@@ -5,7 +5,7 @@ import h from '../../test/helpers/h'
import { __clear } from '../../lib/utils/memoize' import { __clear } from '../../lib/utils/memoize'
export default function (text) { export default function (text) {
text.getRanges() text.getLeaves()
} }
export function before(state) { export function before(state) {