Skip to content

Commit

Permalink
Merge branch 'master' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongsik Yoo committed Aug 31, 2017
2 parents c0b681e + 5c61192 commit 1e896e2
Show file tree
Hide file tree
Showing 26 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tui-image-editor",
"author": "NHNEnt FE Development Lab <dl_javascript@nhnent.com>",
"version": "3.0.0",
"version": "3.0.1",
"license": "MIT",
"repository": "https://github.com/nhnent/tui.image-editor",
"main": "dist/tui-image-editor.js",
Expand Down
2 changes: 1 addition & 1 deletion src/js/component/cropper.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Image crop module (start cropping, end cropping)
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import Component from '../interface/component';
import Cropzone from '../extension/cropzone';
import {keyCodes, componentNames} from '../consts';
Expand Down
2 changes: 1 addition & 1 deletion src/js/component/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import {isUndefined, extend, forEach, filter} from 'tui-code-snippet';
import Promise from 'core-js/library/es6/promise';
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import Component from '../interface/component';
import Mask from '../extension/mask';
import consts from '../consts';
Expand Down
2 changes: 1 addition & 1 deletion src/js/component/freeDrawing.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Free drawing module, Set brush
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import Component from '../interface/component';
import consts from '../consts';

Expand Down
2 changes: 1 addition & 1 deletion src/js/component/icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Add icon module
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import snippet from 'tui-code-snippet';
import Promise from 'core-js/library/es6/promise';
import Component from '../interface/component';
Expand Down
2 changes: 1 addition & 1 deletion src/js/component/line.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Free drawing module, Set brush
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import Component from '../interface/component';
import consts from '../consts';

Expand Down
2 changes: 1 addition & 1 deletion src/js/component/rotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Image rotation module
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import Promise from 'core-js/library/es6/promise';
import Component from '../interface/component';
import consts from '../consts';
Expand Down
2 changes: 1 addition & 1 deletion src/js/component/shape.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Shape component
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import Promise from 'core-js/library/es6/promise';
import Component from '../interface/component';
import consts from '../consts';
Expand Down
2 changes: 1 addition & 1 deletion src/js/component/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Text module
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import snippet from 'tui-code-snippet';
import Promise from 'core-js/library/es6/promise';
import Component from '../interface/component';
Expand Down
2 changes: 1 addition & 1 deletion src/js/extension/blur.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Blur extending fabric.Image.filters.Convolute
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';

/**
* Blur object
Expand Down
2 changes: 1 addition & 1 deletion src/js/extension/colorFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview ColorFilter extending fabric.Image.filters.BaseFilter
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';

/**
* ColorFilter object
Expand Down
2 changes: 1 addition & 1 deletion src/js/extension/cropzone.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @fileoverview Cropzone extending fabric.Rect
*/
import snippet from 'tui-code-snippet';
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import {clamp} from '../util';

const CORNER_TYPE_TOP_LEFT = 'tl';
Expand Down
2 changes: 1 addition & 1 deletion src/js/extension/emboss.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Emboss extending fabric.Image.filters.Convolute
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';

/**
* Emboss object
Expand Down
2 changes: 1 addition & 1 deletion src/js/extension/mask.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Mask extending fabric.Image.filters.Mask
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';

/**
* Mask object
Expand Down
2 changes: 1 addition & 1 deletion src/js/extension/sharpen.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Sharpen extending fabric.Image.filters.Convolute
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';

/**
* Sharpen object
Expand Down
2 changes: 1 addition & 1 deletion src/js/graphics.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import snippet from 'tui-code-snippet';
import Promise from 'core-js/library/es6/promise';
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import ImageLoader from './component/imageLoader';
import Cropper from './component/cropper';
import Flip from './component/flip';
Expand Down
2 changes: 1 addition & 1 deletion test/command.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import snippet from 'tui-code-snippet';
import Promise from 'core-js/library/es6/promise';
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import $ from 'jquery';
import Invoker from '../src/js/invoker';
import commandFactory from '../src/js/factory/command';
Expand Down
2 changes: 1 addition & 1 deletion test/cropper.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @fileoverview Test cases of "src/js/component/cropper.js"
*/
import snippet from 'tui-code-snippet';
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import $ from 'jquery';
import Cropper from '../src/js/component/cropper';
import Graphics from '../src/js/graphics';
Expand Down
2 changes: 1 addition & 1 deletion test/flip.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Test cases of "src/js/component/flip.js"
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import $ from 'jquery';
import Graphics from '../src/js/graphics';
import Flip from '../src/js/component/flip';
Expand Down
2 changes: 1 addition & 1 deletion test/graphics.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @fileoverview Tests command with command-factory
*/
import snippet from 'tui-code-snippet';
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import $ from 'jquery';
import Graphics from '../src/js/graphics';
import consts from '../src/js/consts';
Expand Down
2 changes: 1 addition & 1 deletion test/icon.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Test cases of "src/js/component/icon.js"
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import $ from 'jquery';
import Graphics from '../src/js/graphics';
import Icon from '../src/js/component/icon';
Expand Down
2 changes: 1 addition & 1 deletion test/line.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Test cases of "src/js/component/line.js"
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import $ from 'jquery';
import Graphics from '../src/js/graphics';
import Line from '../src/js/component/line';
Expand Down
2 changes: 1 addition & 1 deletion test/rotation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Test cases of "src/js/component/rotation.js"
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import $ from 'jquery';
import Graphics from '../src/js/graphics';
import Rotation from '../src/js/component/rotation';
Expand Down
2 changes: 1 addition & 1 deletion test/shape.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Test cases of "src/js/component/line.js"
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import $ from 'jquery';
import Graphics from '../src/js/graphics';
import Shape from '../src/js/component/shape';
Expand Down
2 changes: 1 addition & 1 deletion test/text.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author NHN Ent. FE Development Team <dl_javascript@nhnent.com>
* @fileoverview Test cases of "src/js/component/text.js"
*/
import {fabric} from 'fabric';
import fabric from 'fabric/dist/fabric.require';
import $ from 'jquery';
import Graphics from '../src/js/graphics';
import Text from '../src/js/component/text';
Expand Down
8 changes: 4 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ module.exports = {
'amd': 'tui-code-snippet',
'root': ['tui', 'util']
},
'fabric': {
'commonjs': 'fabric',
'commonjs2': 'fabric',
'amd': 'fabric',
'fabric/dist/fabric.require': {
'commonjs': 'fabric/dist/fabric.require',
'commonjs2': 'fabric/dist/fabric.require',
'amd': 'fabric/dist/fabric.require',
'root': ['fabric']
}
},
Expand Down

0 comments on commit 1e896e2

Please sign in to comment.