Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv2013 committed Oct 2, 2018
1 parent a6652a5 commit 25f7587
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"knockout": "^3.4.0",
"rmodal": "^1.0.28",
"sortablejs": "1.6.1",
"survey-knockout": "^1.0.40"
"survey-knockout": "^1.0.47"
},
"devDependencies": {
"@types/ace": "0.0.32",
Expand Down Expand Up @@ -48,7 +48,7 @@
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "2.0.2",
"node-sass": "4.9.2",
"puppeteer": "^1.0.0",
"puppeteer": "^1.8.0",
"qunitjs": "2.2.0",
"replace-in-file": "^3.4.0",
"rimraf": "2.5.4",
Expand Down
4 changes: 2 additions & 2 deletions src/surveyjsObjects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ Survey.Panel.prototype["onSelectedElementChanged"] = function() {
this.koIsSelected(getSurvey(this)["selectedElementValue"] == this);
};

var questionPrototype = !!Survey.QuestionBase
? Survey.QuestionBase.prototype
var questionPrototype = !!Survey["QuestionBase"]
? Survey["QuestionBase"].prototype
: Survey.Question.prototype;

questionPrototype["onCreating"] = function() {
Expand Down

0 comments on commit 25f7587

Please sign in to comment.