From a875bee81ce8fd432f8b05f370cc74e4275e5b89 Mon Sep 17 00:00:00 2001 From: DD Liu Date: Thu, 17 Aug 2017 13:53:54 -0400 Subject: [PATCH] move blob helper files --- src/{modes => containers/blob}/blob.js | 2 +- src/{modes => containers/blob}/broad-brush-helper.js | 0 src/{modes => containers/blob}/segment-brush-helper.js | 0 src/{modes => containers/blob}/style-path.js | 0 src/containers/brush-mode.jsx | 2 +- src/containers/eraser-mode.jsx | 2 +- 6 files changed, 3 insertions(+), 3 deletions(-) rename src/{modes => containers/blob}/blob.js (99%) rename src/{modes => containers/blob}/broad-brush-helper.js (100%) rename src/{modes => containers/blob}/segment-brush-helper.js (100%) rename src/{modes => containers/blob}/style-path.js (100%) diff --git a/src/modes/blob.js b/src/containers/blob/blob.js similarity index 99% rename from src/modes/blob.js rename to src/containers/blob/blob.js index 6c095bd7..adbaedf8 100644 --- a/src/modes/blob.js +++ b/src/containers/blob/blob.js @@ -1,5 +1,5 @@ import paper from 'paper'; -import log from '../log/log'; +import log from '../../log/log'; import BroadBrushHelper from './broad-brush-helper'; import SegmentBrushHelper from './segment-brush-helper'; import {styleCursorPreview} from './style-path'; diff --git a/src/modes/broad-brush-helper.js b/src/containers/blob/broad-brush-helper.js similarity index 100% rename from src/modes/broad-brush-helper.js rename to src/containers/blob/broad-brush-helper.js diff --git a/src/modes/segment-brush-helper.js b/src/containers/blob/segment-brush-helper.js similarity index 100% rename from src/modes/segment-brush-helper.js rename to src/containers/blob/segment-brush-helper.js diff --git a/src/modes/style-path.js b/src/containers/blob/style-path.js similarity index 100% rename from src/modes/style-path.js rename to src/containers/blob/style-path.js diff --git a/src/containers/brush-mode.jsx b/src/containers/brush-mode.jsx index c1bbe6e6..e52b86db 100644 --- a/src/containers/brush-mode.jsx +++ b/src/containers/brush-mode.jsx @@ -3,7 +3,7 @@ import React from 'react'; import {connect} from 'react-redux'; import bindAll from 'lodash.bindall'; import Modes from '../modes/modes'; -import Blobbiness from '../modes/blob'; +import Blobbiness from './blob/blob'; import {changeBrushSize} from '../reducers/brush-mode'; class BrushMode extends React.Component { diff --git a/src/containers/eraser-mode.jsx b/src/containers/eraser-mode.jsx index 5782d7d4..9ca2f6ce 100644 --- a/src/containers/eraser-mode.jsx +++ b/src/containers/eraser-mode.jsx @@ -3,7 +3,7 @@ import React from 'react'; import {connect} from 'react-redux'; import bindAll from 'lodash.bindall'; import Modes from '../modes/modes'; -import Blobbiness from '../modes/blob'; +import Blobbiness from './blob/blob'; import {changeBrushSize} from '../reducers/eraser-mode'; class EraserMode extends React.Component {