mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-20 15:14:38 +01:00
Move IS_DEV to constants
This commit is contained in:
parent
b33616638d
commit
62a3b4666d
@ -5,11 +5,11 @@ import Debug from 'debug'
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import TYPES from '../constants/types'
|
||||
import IS_DEV from '../constants/is-dev'
|
||||
import Leaf from './leaf'
|
||||
import Void from './void'
|
||||
import scrollTo from '../utils/scroll-to'
|
||||
import warning from '../utils/warning'
|
||||
import IS_DEV from '../utils/is-dev'
|
||||
|
||||
/**
|
||||
* Debug.
|
||||
|
@ -5,7 +5,7 @@ const IS_DEV = (
|
||||
)
|
||||
|
||||
/**
|
||||
* Return true if running slate in development
|
||||
* True if running slate in development mode
|
||||
* @type {Boolean}
|
||||
*/
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* global Map */
|
||||
|
||||
import IS_DEV from './is-dev'
|
||||
import IS_DEV from '../constants/is-dev'
|
||||
|
||||
/**
|
||||
* This module serves to memoize methods on immutable instances.
|
||||
|
@ -1,4 +1,4 @@
|
||||
import IS_DEV from './is-dev'
|
||||
import IS_DEV from '../constants/is-dev'
|
||||
|
||||
/**
|
||||
* Log a development warning.
|
||||
|
Loading…
x
Reference in New Issue
Block a user