- commit
- 4f981f1d4dfb0aed0e3a0b5291fb12db5704ed9f
- parent
- 8c1e157030a8a686405068a020095c7e6fde4389
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-05-10 19:05
lint: add missing semicolons
Diffstat
| M | mondrian.js | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/mondrian.js b/mondrian.js
@@ -18,12 +18,12 @@ var createLeaf = function() {
18 18 var getSize = function(element) {
19 19 var rect = element.getBoundingClientRect();
20 20 return rect.width * rect.height;
21 -1 }
-1 21 };
22 22
23 23 var getRelSize = function(element) {
24 24 var root = element.closest(".mondrian");
25 25 return getSize(element) / getSize(root);
26 -1 }
-1 26 };
27 27
28 28 var easing = function(x) {
29 29 return (Math.pow(x * 2 - 1, 3) + 1) / 2;