Skip to content

Commit

Permalink
Merge pull request #196 from Auge19/typo_fixes
Browse files Browse the repository at this point in the history
Fixed typos in operators.ts and JsxObserver.ts
  • Loading branch information
brianmhunt authored Jan 9, 2025
2 parents 91b164a + 3e14078 commit 60c3683
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/utils.jsx/src/JsxObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class JsxObserver extends LifeCycle {
}

/**
* @param {HMTLElement|Comment|HTMLTemplateElement} parentNode
* @param {HTMLElement|Comment|HTMLTemplateElement} parentNode
*/
getParentTarget (parentNode) {
if ('content' in parentNode) { return parentNode.content }
Expand Down Expand Up @@ -135,8 +135,8 @@ export class JsxObserver extends LifeCycle {

createInitialAdditions (possibleIterable) {
const status = 'added'
if (typeof possibleIteratable === 'object' &&
posibleIterable !== null &&
if (typeof possibleIterable === 'object' &&
possibleIterable !== null &&
Symbol.iterator in possibleIterable) {
possibleIterable = [...possibleIterable]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/utils.parser/src/operators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ operators['--'].precedence = 16
operators['&-'].precedence = 16

// exponent
operators['**'].precedent = 15
operators['**'].precedence = 15

// mul/div/remainder
operators['%'].precedence = 14
Expand Down

0 comments on commit 60c3683

Please sign in to comment.