diff --git a/Event/EventManager.js b/Event/EventManager.js
index e599809..90c5cbe 100755
--- a/Event/EventManager.js
+++ b/Event/EventManager.js
@@ -278,7 +278,7 @@ export class EventManager
};
/**
- * Is a certain group allready attached
+ * Is a certain group already attached
*
* @param {string|number} group Group id
*
diff --git a/Media/Video/CameraRecognition.js b/Media/Video/CameraRecognition.js
index 3d40b1a..98e3541 100755
--- a/Media/Video/CameraRecognition.js
+++ b/Media/Video/CameraRecognition.js
@@ -1,5 +1,5 @@
// bind canvas
// take images every x ms
-// call calback on canvas to check image
+// call callback on canvas to check image
// stop if match or manual stop
// return callback result
diff --git a/UI/Component/AdvancedInput.js b/UI/Component/AdvancedInput.js
index 18c29db..b255ce3 100755
--- a/UI/Component/AdvancedInput.js
+++ b/UI/Component/AdvancedInput.js
@@ -323,7 +323,7 @@ export class AdvancedInput
/**
* @todo Karaka/jsOMS#72
* Allow duplication
- * Create a `data-duplicat=true` attribute to allow duplication and then have a count as part of the uuid (maybe row id).
+ * Create a `data-duplicate=true` attribute to allow duplication and then have a count as part of the uuid (maybe row id).
*/
if (self.tagElement.querySelectorAll('[data-tpl-uuid="' + uuid + '"').length !== 0) {
return;
diff --git a/UI/Component/AdvancedSelect.js b/UI/Component/AdvancedSelect.js
index 1ef4e7d..6756525 100755
--- a/UI/Component/AdvancedSelect.js
+++ b/UI/Component/AdvancedSelect.js
@@ -285,7 +285,7 @@ export class AdvancedSelect
/**
* @todo Karaka/jsOMS#72
* Allow duplication
- * Create a `data-duplicat=true` attribute to allow duplication and then have a count as part of the uuid (maybe row id).
+ * Create a `data-duplicate=true` attribute to allow duplication and then have a count as part of the uuid (maybe row id).
*/
if (self.tagElement.querySelectorAll('[data-tpl-uuid="' + uuid + '"').length !== 0) {
return;
diff --git a/UI/Component/Form.js b/UI/Component/Form.js
index 2c56455..7ee17e3 100755
--- a/UI/Component/Form.js
+++ b/UI/Component/Form.js
@@ -664,13 +664,13 @@ export class Form
for (let i = 0; i < updateElementLength; ++i) {
jsOMS.removeClass(updateElements[i], 'animated');
- jsOMS.removeClass(updateElements[i], 'greenCricleFade');
+ jsOMS.removeClass(updateElements[i], 'greenCircleFade');
requestAnimationFrame((time) => {
requestAnimationFrame((time) => {
jsOMS.addClass(updateElements[i], 'animated');
jsOMS.addClass(updateElements[i], 'medium-duration');
- jsOMS.addClass(updateElements[i], 'greenCricleFade');
+ jsOMS.addClass(updateElements[i], 'greenCircleFade');
});
});
}
@@ -1017,7 +1017,7 @@ export class Form
// @todo if table head input field in popups changes -> check if input empty -> deactivate -> checkbox : else activate checkbox
// careful: the same checkbox is used for showing the filter popup. maybe create a separate checkbox, which only handles the highlighting if filter is defined.
// this means popup active highlights filter icon AND different content checkbox also highlights filter
- // -> two hiddin checkboxes are necessary (one is already implemented)
+ // -> two hidden checkboxes are necessary (one is already implemented)
// Consider: It might make sense to do this in the Table.js??? Kinda depends on additional functionality together with the form probably.
}
@@ -1211,7 +1211,7 @@ export class Form
document.close();
*/
- window.omsApp.reInit(); // @todo fix memory leak which most likely exists because of continous binding without removing binds
+ window.omsApp.reInit(); // @todo fix memory leak which most likely exists because of continuous binding without removing binds
} else {
try {
const o = JSON.parse(xhr.response)[0];
@@ -1239,7 +1239,7 @@ export class Form
document.write(html);
document.close();
*/
- // @todo fix memory leak which most likely exists because of continous binding without removing binds
+ // @todo fix memory leak which most likely exists because of continuous binding without removing binds
window.omsApp.reInit();
})
.catch((error) => {
diff --git a/UI/Input/Mouse/MouseManager.js b/UI/Input/Mouse/MouseManager.js
index e1643e0..1227799 100755
--- a/UI/Input/Mouse/MouseManager.js
+++ b/UI/Input/Mouse/MouseManager.js
@@ -106,7 +106,7 @@ export class MouseManager
run (element, event)
{
if (typeof this.elements[element] === 'undefined') {
- throw new Error('Unexpected elmenet!');
+ throw new Error('Unexpected element!');
}
const actions = this.elements[element];
diff --git a/Utils/Parser/Markdown.js b/Utils/Parser/Markdown.js
index 4bd04c9..d319cb9 100755
--- a/Utils/Parser/Markdown.js
+++ b/Utils/Parser/Markdown.js
@@ -4998,24 +4998,24 @@
i, ii;
for (i = 0; i < headings.length; ++i) {
var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),
- allign = '---';
+ align = '---';
if (headings[i].hasAttribute('style')) {
var style = headings[i].getAttribute('style').toLowerCase().replace(/\s/g, '');
switch (style) {
case 'text-align:left;':
- allign = ':---';
+ align = ':---';
break;
case 'text-align:right;':
- allign = '---:';
+ align = '---:';
break;
case 'text-align:center;':
- allign = ':---:';
+ align = ':---:';
break;
}
}
tableArray[0][i] = headContent.trim();
- tableArray[1][i] = allign;
+ tableArray[1][i] = align;
}
for (i = 0; i < rows.length; ++i) {
diff --git a/tests/Views/FormViewTest.js b/tests/Views/FormViewTest.js
index 87fd57e..07c46d3 100755
--- a/tests/Views/FormViewTest.js
+++ b/tests/Views/FormViewTest.js
@@ -13,7 +13,7 @@ describe('FormViewTest', function ()
-