Skip to content

Commit

Permalink
Update to v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Oct 27, 2016
1 parent 2b4335e commit d677c8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var gulp = require('gulp'),
getWebpackConfig = require('./webpack.config');

var Server = require("karma").Server;
var editorVersion = "0.9.12";
var editorVersion = "0.10.0";

var paths = {
mainJSfile: "surveyeditor.js",
Expand Down
1 change: 1 addition & 0 deletions src/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ export class SurveyEditor {
}
}

Survey.Survey.cssType = "bootstrap";
new Survey.SurveyTemplateText().replaceText(templatePageHtml, "page");
new Survey.SurveyTemplateText().replaceText(templateQuestionHtml, "question");

Expand Down
6 changes: 3 additions & 3 deletions tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<meta charset="utf-8">
<title>QUnit Example</title>
<link rel="stylesheet" href="../js/qunit.css">
<script src="../js/survey.bootstrap.js"></script>
<script src="../js/knockout.js"></script>
<script src="../js/qunit.js"></script>
<script src="../js/survey.ko.js"></script>
<script src="../js/surveyeditor.js"></script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="../js/qunit.js"></script>
<script src="surveyEditor.tests.js"></script>
<script src="../js/knockout.js"></script>
</body>
</html>

0 comments on commit d677c8b

Please sign in to comment.