diff --git a/README.md b/README.md index 9a39b7d..7588d95 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ var options = { var instance = new DatePicker(container, options); ``` -Or, include [`tui-code-snippet`](https://github.com/nhn/tui.code-snippet)(**v1.5.0** or **later**) and then immediately write the options as follows: +Or, include [`tui-code-snippet`](https://github.com/nhn/tui.code-snippet)(**v2.2.0** or **later**) and then immediately write the options as follows: ```js tui.usageStatistics = false; @@ -186,9 +186,8 @@ For more information about the API, please see [here](http://nhn.github.io/tui.d ## 🔩 Dependency -* [tui-code-snippet](https://github.com/nhn/tui.code-snippet) >=1.5.0 -* [tui-dom](https://github.com/nhn/tui.dom) >=3.0.0 -* [tui-time-picker](https://github.com/nhn/tui.time-picker) >=2.0.0 +* [tui-code-snippet](https://github.com/nhn/tui.code-snippet) >= 2.2.0 +* [tui-time-picker](https://github.com/nhn/tui.time-picker) >= 2.0.3 ## 🌏 Browser Support diff --git a/bower.json b/bower.json index 3af033c..5783f5a 100644 --- a/bower.json +++ b/bower.json @@ -23,8 +23,7 @@ "package-lock.json" ], "dependencies": { - "tui-code-snippet": "^1.5.0", - "tui-dom": "^3.0.0", - "tui-time-picker": "^2.0.0" + "tui-code-snippet": "^2.2.0", + "tui-time-picker": "^2.0.3" } } diff --git a/docs/getting-started.md b/docs/getting-started.md index f2e2cd1..e4f2edb 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -25,21 +25,18 @@ var instance = new tui.DatePicker(container, { ``` ## Load dependency files -* Script - [tui-code-snippet](https://github.com/nhn/tui.code-snippet) 1.5.0 or later -* Script - [tui-dom](https://github.com/nhn/tui.dom) 3.0.0 or later - > If your project should support IE8, please use `tui-dom.js`, not `tui-dom.min.js`. -* Script - [tui-time-picker](https://github.com/nhn/tui.time-picker) 2.0.0 or later +* Script - [tui-time-picker](https://github.com/nhn/tui.time-picker) 2.0.3 or later ```html .... + .... - - + .... diff --git a/karma.conf.js b/karma.conf.js index b22a4f3..1658b95 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -125,15 +125,10 @@ module.exports = function(config) { }, { test: /\.js$/, - exclude: /(bower_components|node_modules)/, + exclude: /(bower_components|node_modules|dist)/, loader: 'eslint-loader', enforce: 'pre' }, - { - test: /\.hbs$/, - exclude: /(node_modules)/, - loader: 'handlebars-loader' - }, { test: /\.css/, loader: 'style-loader!css' diff --git a/webpack.config.js b/webpack.config.js index b38b44f..cbd8916 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -31,18 +31,6 @@ module.exports = function(env, argv) { filename: FILENAME }, externals: { - 'tui-code-snippet': { - commonjs: 'tui-code-snippet', - commonjs2: 'tui-code-snippet', - amd: 'tui-code-snippet', - root: ['tui', 'util'] - }, - 'tui-dom': { - commonjs: 'tui-dom', - commonjs2: 'tui-dom', - amd: 'tui-dom', - root: ['tui', 'dom'] - }, 'tui-time-picker': { commonjs: 'tui-time-picker', commonjs2: 'tui-time-picker', @@ -61,11 +49,6 @@ module.exports = function(env, argv) { failOnError: isProduction } }, - { - test: /\.hbs$/, - exclude: /(node_modules)/, - loader: 'handlebars-loader' - }, { test: /\.css/, use: [