Skip to content

Commit

Permalink
fixed "signature_pad", "sortablejs", "ckeditor", "select2-tagbox", bu…
Browse files Browse the repository at this point in the history
…ndles
  • Loading branch information
dmitry-kurmanov committed Nov 7, 2017
1 parent a016bb6 commit 59d5857
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "surveyjs-widgets",
"version": "0.12.52",
"version": "0.12.55",
"scripts": {
"start": "npm run build && live-server",
"prebuild": "webpack --env.buildType dev",
Expand Down
2 changes: 2 additions & 0 deletions src/ck-editor.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import CKEDITOR from 'ckeditor';

function init(Survey) {
var widget = {
name: "editor",
Expand Down
2 changes: 2 additions & 0 deletions src/select2-tagbox.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import $ from 'jquery';

function init(Survey) {
var widget = {
name: "tagbox",
Expand Down
2 changes: 2 additions & 0 deletions src/signature_pad.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as SignaturePad from 'signature_pad';

function init(Survey) {
var widget = {
name: "signaturepad",
Expand Down
2 changes: 2 additions & 0 deletions src/sortablejs.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Sortable from 'sortablejs';

function init(Survey) {
var widget = {
name: "sortablelist",
Expand Down
20 changes: 19 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,29 @@ module.exports = function(options) {
commonjs: 'inputmask',
amd: 'inputmask'
},
'noUiSlider': {
'nouislider': {
root: 'noUiSlider',
commonjs2: 'nouislider',
commonjs: 'nouislider',
amd: 'nouislider'
},
'signature_pad': {
root: 'SignaturePad',
commonjs2: 'signature_pad',
commonjs: 'signature_pad',
amd: 'signature_pad'
},
'sortablejs': {
root: 'Sortable',
commonjs2: 'sortablejs',
commonjs: 'sortablejs',
amd: 'sortablejs'
},
'ckeditor': {
root: 'CKEDITOR',
commonjs2: 'ckeditor',
commonjs: 'ckeditor',
amd: 'ckeditor'
}
},
plugins: [
Expand Down

0 comments on commit 59d5857

Please sign in to comment.