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:
@@ -20,7 +20,7 @@ export const input = {
|
|||||||
nodes: [
|
nodes: [
|
||||||
{
|
{
|
||||||
kind: 'text',
|
kind: 'text',
|
||||||
ranges: [
|
leaves: [
|
||||||
{
|
{
|
||||||
text: 'This is editable ',
|
text: 'This is editable ',
|
||||||
},
|
},
|
||||||
|
@@ -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) {
|
Reference in New Issue
Block a user