1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-06 15:26:34 +02:00

Remove deprecations (#1317)

* remove deprecations from slate core

* remove deprecations from slate-html-serializer

* remove deprecations from slate-hyperscript

* remove deprecations from slate-plain-serializer

* remove deprecations from slate-prop-types

* remove deprecations from slate-simulator

* remove deprecations from slate-react

* fix linter, fix tests
This commit is contained in:
Ian Storm Taylor
2017-10-27 14:42:06 -07:00
committed by GitHub
parent 7d69bbade5
commit f6d3c8e32c
21 changed files with 48 additions and 799 deletions

View File

@@ -1,7 +1,6 @@
import isEmpty from 'is-empty'
import isPlainObject from 'is-plain-object'
import logger from 'slate-dev-logger'
import {
Block,
@@ -75,11 +74,6 @@ const CREATORS = {
return Range.create(attributes)
},
state(...args) {
logger.deprecate('slate-hyperscript@0.3.0', 'The `<state>` tag has been renamed to `<value>`.')
return CREATORS.value(...args)
},
value(tagName, attributes, children) {
const { data } = attributes
const document = children.find(Document.isDocument)