Skip to content

Commit 3fea810

Browse files
committed
Increase the version.
1 parent 97165a8 commit 3fea810

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var gulp = require('gulp'),
1717

1818
var Server = require("karma").Server;
1919

20-
var libraryVersion = "0.9.10";
20+
var libraryVersion = "0.9.11";
2121

2222
var paths = {
2323
webroot: "./" + project.webroot + "/",

src/page.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ module Survey {
3434
var counter = 0;
3535
for (var i = 0; i < this.questions.length; i++)
3636
if (this.questions[i].visible) {
37-
var delta = counter > 0 && counter == visCount - 1 ? 1 : 0;
38-
this.questions[i].renderWidth = this.question.width ? this.question.width : (Math.floor(100 / visCount) - delta) + '%';
37+
this.questions[i].renderWidth = this.question.width ? this.question.width : Math.floor(100 / visCount) + '%';
3938
this.questions[i].rightIndent = counter < visCount - 1 ? 1 : 0;
4039
counter++;
4140
}

tests/surveytests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ module Survey.Tests {
545545
if (i % 2 == 0) {
546546
assert.equal(page.rows[i].questions[0].renderWidth, "50%", "the render width is 50%");
547547
assert.equal(page.rows[i].questions[0].rightIndent, 1, "the indent is 1");
548-
assert.equal(page.rows[i].questions[1].renderWidth, "49%", "the render width is 50%");
548+
assert.equal(page.rows[i].questions[1].renderWidth, "50%", "the render width is 50%");
549549
assert.equal(page.rows[i].questions[1].rightIndent, 0, "the indent is 0");
550550
}
551551
}

0 commit comments

Comments
 (0)