Skip to content

Commit

Permalink
chore: build dist for version 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuwoo.choi committed Jun 5, 2018
1 parent 88805be commit b95e86e
Show file tree
Hide file tree
Showing 18 changed files with 60 additions and 42 deletions.
22 changes: 14 additions & 8 deletions dist/tui-editor-Editor-all.js
@@ -1,6 +1,6 @@
/*!
* tui-editor
* @version 1.2.1
* @version 1.2.2
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)
* @license MIT
*/
Expand Down Expand Up @@ -14783,7 +14783,9 @@ var DEFAULT_CHART_OPTIONS = {
minWidth: 0,
maxWidth: Infinity,
minHeight: 0,
maxHeight: Infinity
maxHeight: Infinity,
height: 'auto',
width: 'auto'
};

/**
Expand Down Expand Up @@ -15108,8 +15110,10 @@ function setDefaultOptions(chartOptions, extensionOptions, chartContainer) {
var _chartContainer$getBo = chartContainer.getBoundingClientRect(),
containerWidth = _chartContainer$getBo.width;

width = isWidthUndefined ? containerWidth : width;
height = isHeightUndefined ? containerWidth : height;
width = isWidthUndefined ? extensionOptions.width : width;
height = isHeightUndefined ? extensionOptions.height : height;
width = width === 'auto' ? containerWidth : width;
height = height === 'auto' ? containerWidth : height;
}
width = Math.min(extensionOptions.maxWidth, width);
height = Math.min(extensionOptions.maxHeight, height);
Expand Down Expand Up @@ -15293,10 +15297,12 @@ function _onMDPasteBefore(cm, _ref2) {
* chart plugin
* @param {Editor} editor - editor
* @param {Object} options - chart options
* @param {number} options.minWidth - minimum width
* @param {number} options.maxWidth - maximum width
* @param {number} options.minHeight - minimum height
* @param {number} options.maxHeight - maximum height
* @param {number} [options.minWidth=0] - minimum width
* @param {number} [options.maxWidth=0] - maximum width
* @param {number} [options.minHeight=Infinity] - minimum height
* @param {number} [options.maxHeight=Infinity] - maximum height
* @param {number|string} [options.width='auto'] - default height
* @param {number|string} [options.height='auto'] - default height
* @ignore
*/
function chartExtension(editor) {
Expand Down
4 changes: 2 additions & 2 deletions dist/tui-editor-Editor-all.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tui-editor-Editor.js
@@ -1,6 +1,6 @@
/*!
* tui-editor
* @version 1.2.1
* @version 1.2.2
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/tui-editor-Editor.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 14 additions & 8 deletions dist/tui-editor-Viewer-all.js
@@ -1,6 +1,6 @@
/*!
* tui-editor
* @version 1.2.1
* @version 1.2.2
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)
* @license MIT
*/
Expand Down Expand Up @@ -6611,7 +6611,9 @@ var DEFAULT_CHART_OPTIONS = {
minWidth: 0,
maxWidth: Infinity,
minHeight: 0,
maxHeight: Infinity
maxHeight: Infinity,
height: 'auto',
width: 'auto'
};

/**
Expand Down Expand Up @@ -6936,8 +6938,10 @@ function setDefaultOptions(chartOptions, extensionOptions, chartContainer) {
var _chartContainer$getBo = chartContainer.getBoundingClientRect(),
containerWidth = _chartContainer$getBo.width;

width = isWidthUndefined ? containerWidth : width;
height = isHeightUndefined ? containerWidth : height;
width = isWidthUndefined ? extensionOptions.width : width;
height = isHeightUndefined ? extensionOptions.height : height;
width = width === 'auto' ? containerWidth : width;
height = height === 'auto' ? containerWidth : height;
}
width = Math.min(extensionOptions.maxWidth, width);
height = Math.min(extensionOptions.maxHeight, height);
Expand Down Expand Up @@ -7121,10 +7125,12 @@ function _onMDPasteBefore(cm, _ref2) {
* chart plugin
* @param {Editor} editor - editor
* @param {Object} options - chart options
* @param {number} options.minWidth - minimum width
* @param {number} options.maxWidth - maximum width
* @param {number} options.minHeight - minimum height
* @param {number} options.maxHeight - maximum height
* @param {number} [options.minWidth=0] - minimum width
* @param {number} [options.maxWidth=0] - maximum width
* @param {number} [options.minHeight=Infinity] - minimum height
* @param {number} [options.maxHeight=Infinity] - maximum height
* @param {number|string} [options.width='auto'] - default height
* @param {number|string} [options.height='auto'] - default height
* @ignore
*/
function chartExtension(editor) {
Expand Down
4 changes: 2 additions & 2 deletions dist/tui-editor-Viewer-all.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tui-editor-Viewer.js
@@ -1,6 +1,6 @@
/*!
* tui-editor
* @version 1.2.1
* @version 1.2.2
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/tui-editor-Viewer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 14 additions & 8 deletions dist/tui-editor-extChart.js
@@ -1,6 +1,6 @@
/*!
* tui-editor
* @version 1.2.1
* @version 1.2.2
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)
* @license MIT
*/
Expand Down Expand Up @@ -5367,7 +5367,9 @@ var DEFAULT_CHART_OPTIONS = {
minWidth: 0,
maxWidth: Infinity,
minHeight: 0,
maxHeight: Infinity
maxHeight: Infinity,
height: 'auto',
width: 'auto'
};

/**
Expand Down Expand Up @@ -5692,8 +5694,10 @@ function setDefaultOptions(chartOptions, extensionOptions, chartContainer) {
var _chartContainer$getBo = chartContainer.getBoundingClientRect(),
containerWidth = _chartContainer$getBo.width;

width = isWidthUndefined ? containerWidth : width;
height = isHeightUndefined ? containerWidth : height;
width = isWidthUndefined ? extensionOptions.width : width;
height = isHeightUndefined ? extensionOptions.height : height;
width = width === 'auto' ? containerWidth : width;
height = height === 'auto' ? containerWidth : height;
}
width = Math.min(extensionOptions.maxWidth, width);
height = Math.min(extensionOptions.maxHeight, height);
Expand Down Expand Up @@ -5877,10 +5881,12 @@ function _onMDPasteBefore(cm, _ref2) {
* chart plugin
* @param {Editor} editor - editor
* @param {Object} options - chart options
* @param {number} options.minWidth - minimum width
* @param {number} options.maxWidth - maximum width
* @param {number} options.minHeight - minimum height
* @param {number} options.maxHeight - maximum height
* @param {number} [options.minWidth=0] - minimum width
* @param {number} [options.maxWidth=0] - maximum width
* @param {number} [options.minHeight=Infinity] - minimum height
* @param {number} [options.maxHeight=Infinity] - maximum height
* @param {number|string} [options.width='auto'] - default height
* @param {number|string} [options.height='auto'] - default height
* @ignore
*/
function chartExtension(editor) {
Expand Down
4 changes: 2 additions & 2 deletions dist/tui-editor-extChart.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tui-editor-extColorSyntax.js
@@ -1,6 +1,6 @@
/*!
* tui-editor
* @version 1.2.1
* @version 1.2.2
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/tui-editor-extColorSyntax.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tui-editor-extScrollSync.js
@@ -1,6 +1,6 @@
/*!
* tui-editor
* @version 1.2.1
* @version 1.2.2
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/tui-editor-extScrollSync.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tui-editor-extTable.js
@@ -1,6 +1,6 @@
/*!
* tui-editor
* @version 1.2.1
* @version 1.2.2
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/tui-editor-extTable.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tui-editor-extUML.js
@@ -1,6 +1,6 @@
/*!
* tui-editor
* @version 1.2.1
* @version 1.2.2
* @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/)
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/tui-editor-extUML.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b95e86e

Please sign in to comment.