Merge pull request #8370 from luzpaz/typos

Fix various typos
This commit is contained in:
James Cole
2024-01-10 05:31:16 +01:00
committed by GitHub
13 changed files with 20 additions and 20 deletions

View File

@@ -138,7 +138,7 @@ function removeTrigger(e) {
// remove grand parent:
target.parent().parent().remove();
// if now at zero, immediatly add one again:
// if now at zero, immediately add one again:
if ($('.rule-trigger-tbody tr').length === 0) {
addNewTrigger();
}
@@ -159,7 +159,7 @@ function removeAction(e) {
// remove grand parent:
target.parent().parent().remove();
// if now at zero, immediatly add one again:
// if now at zero, immediately add one again:
if ($('.rule-action-tbody tr').length === 0) {
addNewAction();
}

View File

@@ -1989,7 +1989,7 @@
isUsingMicroTask = true;
} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
// Fallback to setImmediate.
// Techinically it leverages the (macro) task queue,
// Technically it leverages the (macro) task queue,
// but it is still a better choice than setTimeout.
timerFunc = function () {
setImmediate(flushCallbacks);
@@ -2938,7 +2938,7 @@
if (typeof key === 'string' && key) {
baseObj[values[i]] = values[i + 1];
} else if (key !== '' && key !== null) {
// null is a speical value for explicitly removing a binding
// null is a special value for explicitly removing a binding
warn(
("Invalid value for dynamic directive argument (expected string or null): " + key),
this
@@ -3558,7 +3558,7 @@
// render self
var vnode;
try {
// There's no need to maintain a stack becaues all render fns are called
// There's no need to maintain a stack because all render fns are called
// separately from one another. Nested component's render fns are called
// when parent component is patched.
currentRenderingInstance = vm;
@@ -7663,7 +7663,7 @@
// skip the update if old and new VDOM state is the same.
// `value` is handled separately because the DOM value may be temporarily
// out of sync with VDOM state due to focus, composition and modifiers.
// This #4521 by skipping the unnecesarry `checked` update.
// This #4521 by skipping the unnecessary `checked` update.
cur !== oldProps[key]
) {
// some property updates can throw
@@ -9268,7 +9268,7 @@
var startTagClose = /^\s*(\/?)>/;
var endTag = new RegExp(("^<\\/" + qnameCapture + "[^>]*>"));
var doctype = /^<!DOCTYPE [^>]+>/i;
// #7298: escape - to avoid being pased as HTML comment when inlined in page
// #7298: escape - to avoid being passed as HTML comment when inlined in page
var comment = /^<!\--/;
var conditionalComment = /^<!\[/;
@@ -9908,7 +9908,7 @@
}
},
comment: function comment (text, start, end) {
// adding anyting as a sibling to the root node is forbidden
// adding anything as a sibling to the root node is forbidden
// comments should still be allowed, but ignored
if (currentParent) {
var child = {