1
0
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:
Soreine 2016-11-10 17:47:05 +01:00
parent b33616638d
commit 62a3b4666d
4 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -5,7 +5,7 @@ const IS_DEV = (
)
/**
* Return true if running slate in development
* True if running slate in development mode
* @type {Boolean}
*/

View File

@ -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.

View File

@ -1,4 +1,4 @@
import IS_DEV from './is-dev'
import IS_DEV from '../constants/is-dev'
/**
* Log a development warning.