Skip to content

Commit

Permalink
Fixed mds
Browse files Browse the repository at this point in the history
  • Loading branch information
BasicPrimitives committed Nov 25, 2020
1 parent eea089b commit 61a597f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src.primitives/enums/PageFitMode.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ primitives.common.PageFitMode = {
*/
PageWidth: 1,
/**
* Fits diagram into the view hight, so it has no vertical scrollbar.
* Fits diagram into the view height, so it has no vertical scrollbar.
*/
PageHeight: 2,
/**
Expand Down
4 changes: 2 additions & 2 deletions src.tests/Graphics/Structs/Size.Tests.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
QUnit.module('Graphics - Structs - Size');

QUnit.test("primitives.common.Size - 2D size structure defined by width and hight", function (assert) {
QUnit.test("primitives.common.Size - 2D size structure defined by width and height", function (assert) {

var size = new primitives.common.Size(10, 20);

assert.equal(size.space(), 200, "Square size");
assert.deepEqual(size.getCSS(), {"width": "10px", "height": "20px"}, "Size conversion to width and hight CSS properties");
assert.deepEqual(size.getCSS(), {"width": "10px", "height": "20px"}, "Size conversion to width and height CSS properties");

var size1 = new primitives.common.Size(10, 40);
var size2 = new primitives.common.Size(50, 30);
Expand Down

0 comments on commit 61a597f

Please sign in to comment.