Skip to content

Commit

Permalink
Deploying to gh-pages from @ 83fa3fd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Jan 27, 2025
1 parent 43f606b commit 0274f20
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion node.deps.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -5347,12 +5347,16 @@ var $;
}
selection_start() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionStart == null)
return undefined;
return this.selection()[0];
}
selection_end() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionEnd == null)
return undefined;
return this.selection()[1];
Expand Down
2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5347,12 +5347,16 @@ var $;
}
selection_start() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionStart == null)
return undefined;
return this.selection()[0];
}
selection_end() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionEnd == null)
return undefined;
return this.selection()[1];
Expand Down
4 changes: 4 additions & 0 deletions node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5338,12 +5338,16 @@ var $;
}
selection_start() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionStart == null)
return undefined;
return this.selection()[0];
}
selection_end() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionEnd == null)
return undefined;
return this.selection()[1];
Expand Down
2 changes: 1 addition & 1 deletion node.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web.deps.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions web.js
Original file line number Diff line number Diff line change
Expand Up @@ -4801,12 +4801,16 @@ var $;
}
selection_start() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionStart == null)
return undefined;
return this.selection()[0];
}
selection_end() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionEnd == null)
return undefined;
return this.selection()[1];
Expand Down
2 changes: 1 addition & 1 deletion web.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions web.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4801,12 +4801,16 @@ var $;
}
selection_start() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionStart == null)
return undefined;
return this.selection()[0];
}
selection_end() {
const el = this.dom_node();
if (!this.focused())
return undefined;
if (el.selectionEnd == null)
return undefined;
return this.selection()[1];
Expand Down

0 comments on commit 0274f20

Please sign in to comment.