From 8170ca1c077679ce71e2182b7d3ddc8798df10d9 Mon Sep 17 00:00:00 2001 From: thoughtsunificator Date: Tue, 8 Oct 2024 17:53:40 +0000 Subject: [PATCH] Update gh-pages to output generated at 00dc148 --- .nojekyll | 0 CNAME | 1 - bbcode.js.html | 2 +- bbdocument_bbdocument.js.html | 2 +- bbdocument_bbelement.js.html | 2 +- bbdocument_bbnode.js.html | 2 +- bbdocument_bbtext.js.html | 2 +- bbdocument_treewalker.js.html | 6 ++++-- index.html | 4 ++-- module-bbcode.html | 2 +- module-bbdocument_bbdocument.BBDocument.html | 2 +- module-bbdocument_bbdocument.html | 2 +- module-bbdocument_bbelement.BBElement.html | 2 +- module-bbdocument_bbelement.html | 2 +- module-bbdocument_bbnode.BBNode.html | 2 +- module-bbdocument_bbnode.html | 2 +- module-bbdocument_bbtext.BBText.html | 2 +- module-bbdocument_bbtext.html | 2 +- module-bbdocument_treewalker.TreeWalker.html | 2 +- module-bbdocument_treewalker.html | 2 +- module-parser.html | 2 +- module-token_key-Key.html | 2 +- module-token_key.html | 2 +- module-token_tagtoken-TagToken.html | 2 +- module-token_tagtoken.html | 2 +- module-token_texttoken-TextToken.html | 2 +- module-token_texttoken.html | 2 +- module-token_token-Token.html | 2 +- module-token_token.html | 2 +- module-tokenizer.html | 2 +- module-util.html | 2 +- parser.js.html | 2 +- token_key.js.html | 2 +- token_tagtoken.js.html | 2 +- token_texttoken.js.html | 2 +- token_token.js.html | 2 +- tokenizer.js.html | 2 +- util.js.html | 2 +- 38 files changed, 40 insertions(+), 39 deletions(-) create mode 100644 .nojekyll delete mode 100644 CNAME diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/CNAME b/CNAME deleted file mode 100644 index ee10936..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -bbcode-parser.unificator.me \ No newline at end of file diff --git a/bbcode.js.html b/bbcode.js.html index 6466ab7..2b8a090 100644 --- a/bbcode.js.html +++ b/bbcode.js.html @@ -217,7 +217,7 @@

bbcode.js


diff --git a/bbdocument_bbdocument.js.html b/bbdocument_bbdocument.js.html index 4bf6c27..e3dee97 100644 --- a/bbdocument_bbdocument.js.html +++ b/bbdocument_bbdocument.js.html @@ -114,7 +114,7 @@

bbdocument/bbdocument.js


diff --git a/bbdocument_bbelement.js.html b/bbdocument_bbelement.js.html index f061807..273de33 100644 --- a/bbdocument_bbelement.js.html +++ b/bbdocument_bbelement.js.html @@ -254,7 +254,7 @@

bbdocument/bbelement.js


diff --git a/bbdocument_bbnode.js.html b/bbdocument_bbnode.js.html index c5b882d..ab719ef 100644 --- a/bbdocument_bbnode.js.html +++ b/bbdocument_bbnode.js.html @@ -174,7 +174,7 @@

bbdocument/bbnode.js


diff --git a/bbdocument_bbtext.js.html b/bbdocument_bbtext.js.html index 960f31b..ea87fb5 100644 --- a/bbdocument_bbtext.js.html +++ b/bbdocument_bbtext.js.html @@ -79,7 +79,7 @@

bbdocument/bbtext.js


diff --git a/bbdocument_treewalker.js.html b/bbdocument_treewalker.js.html index c23b757..6848947 100644 --- a/bbdocument_treewalker.js.html +++ b/bbdocument_treewalker.js.html @@ -85,7 +85,9 @@

bbdocument/treewalker.js

if(previousNode !== this._rootNode) { this._path.push(previousNode) } - } else if(this.currentNode.nextSibling !== null && !this._path.includes(this.currentNode.nextSibling)) { + } else if(this.currentNode.nextSibling !== null && + (this._rootBookmark === this.currentNode.parentNode || this._path.includes(this.currentNode.parentNode)) && + !this._path.includes(this.currentNode.nextSibling)) { this._path.push(this.currentNode.nextSibling) this._currentNode = this.currentNode.nextSibling } else { @@ -120,7 +122,7 @@

bbdocument/treewalker.js


diff --git a/index.html b/index.html index 61481e6..35e8d70 100644 --- a/index.html +++ b/index.html @@ -76,7 +76,7 @@

Usage

const text = bbDocument.documentElement.children[0].textContent // returns "Hey, thanks!"

API

-

See https://thoughtsunificator.github.io/bbcode-parser.

+

See http://bbcode-parser.unificator.me.

Try it out!

See https://codesandbox.io/s/bbcode-parser-gth53.

@@ -93,7 +93,7 @@

Try it out!


diff --git a/module-bbcode.html b/module-bbcode.html index 7eacbfa..d09487e 100644 --- a/module-bbcode.html +++ b/module-bbcode.html @@ -687,7 +687,7 @@
Returns:

diff --git a/module-bbdocument_bbdocument.BBDocument.html b/module-bbdocument_bbdocument.BBDocument.html index 02d51b2..a19072f 100644 --- a/module-bbdocument_bbdocument.BBDocument.html +++ b/module-bbdocument_bbdocument.BBDocument.html @@ -731,7 +731,7 @@
Returns:

diff --git a/module-bbdocument_bbdocument.html b/module-bbdocument_bbdocument.html index db3bab5..1b82803 100644 --- a/module-bbdocument_bbdocument.html +++ b/module-bbdocument_bbdocument.html @@ -101,7 +101,7 @@

Classes


diff --git a/module-bbdocument_bbelement.BBElement.html b/module-bbdocument_bbelement.BBElement.html index efb65c1..ba030ed 100644 --- a/module-bbdocument_bbelement.BBElement.html +++ b/module-bbdocument_bbelement.BBElement.html @@ -1353,7 +1353,7 @@
Returns:

diff --git a/module-bbdocument_bbelement.html b/module-bbdocument_bbelement.html index 3965cfa..2aa782b 100644 --- a/module-bbdocument_bbelement.html +++ b/module-bbdocument_bbelement.html @@ -101,7 +101,7 @@

Classes


diff --git a/module-bbdocument_bbnode.BBNode.html b/module-bbdocument_bbnode.BBNode.html index 90e2ab9..278fd28 100644 --- a/module-bbdocument_bbnode.BBNode.html +++ b/module-bbdocument_bbnode.BBNode.html @@ -888,7 +888,7 @@
Returns:

diff --git a/module-bbdocument_bbnode.html b/module-bbdocument_bbnode.html index 52c0a20..298e3a7 100644 --- a/module-bbdocument_bbnode.html +++ b/module-bbdocument_bbnode.html @@ -101,7 +101,7 @@

Classes


diff --git a/module-bbdocument_bbtext.BBText.html b/module-bbdocument_bbtext.BBText.html index 0994450..5f8585e 100644 --- a/module-bbdocument_bbtext.BBText.html +++ b/module-bbdocument_bbtext.BBText.html @@ -227,7 +227,7 @@
Parameters:

diff --git a/module-bbdocument_bbtext.html b/module-bbdocument_bbtext.html index 6a4cf79..d4ee42c 100644 --- a/module-bbdocument_bbtext.html +++ b/module-bbdocument_bbtext.html @@ -101,7 +101,7 @@

Classes


diff --git a/module-bbdocument_treewalker.TreeWalker.html b/module-bbdocument_treewalker.TreeWalker.html index 13cb4f9..d0a4737 100644 --- a/module-bbdocument_treewalker.TreeWalker.html +++ b/module-bbdocument_treewalker.TreeWalker.html @@ -405,7 +405,7 @@
Returns:

diff --git a/module-bbdocument_treewalker.html b/module-bbdocument_treewalker.html index 2e7e989..a1d1d14 100644 --- a/module-bbdocument_treewalker.html +++ b/module-bbdocument_treewalker.html @@ -101,7 +101,7 @@

Classes


diff --git a/module-parser.html b/module-parser.html index fe98752..5f14b7d 100644 --- a/module-parser.html +++ b/module-parser.html @@ -661,7 +661,7 @@
Returns:

diff --git a/module-token_key-Key.html b/module-token_key-Key.html index c1c3252..5b0afd1 100644 --- a/module-token_key-Key.html +++ b/module-token_key-Key.html @@ -392,7 +392,7 @@
Type:

diff --git a/module-token_key.html b/module-token_key.html index 1e1e328..39612d2 100644 --- a/module-token_key.html +++ b/module-token_key.html @@ -101,7 +101,7 @@

Classes


diff --git a/module-token_tagtoken-TagToken.html b/module-token_tagtoken-TagToken.html index d17a370..fdc1bce 100644 --- a/module-token_tagtoken-TagToken.html +++ b/module-token_tagtoken-TagToken.html @@ -369,7 +369,7 @@
Type:

diff --git a/module-token_tagtoken.html b/module-token_tagtoken.html index 187778f..97e59db 100644 --- a/module-token_tagtoken.html +++ b/module-token_tagtoken.html @@ -101,7 +101,7 @@

Classes


diff --git a/module-token_texttoken-TextToken.html b/module-token_texttoken-TextToken.html index c79570f..6bb8c25 100644 --- a/module-token_texttoken-TextToken.html +++ b/module-token_texttoken-TextToken.html @@ -273,7 +273,7 @@
Parameters:

diff --git a/module-token_texttoken.html b/module-token_texttoken.html index 96c2717..53eac08 100644 --- a/module-token_texttoken.html +++ b/module-token_texttoken.html @@ -101,7 +101,7 @@

Classes


diff --git a/module-token_token-Token.html b/module-token_token-Token.html index 622866b..8810cce 100644 --- a/module-token_token-Token.html +++ b/module-token_token-Token.html @@ -553,7 +553,7 @@
Type:

diff --git a/module-token_token.html b/module-token_token.html index 8c1c531..4add560 100644 --- a/module-token_token.html +++ b/module-token_token.html @@ -101,7 +101,7 @@

Classes


diff --git a/module-tokenizer.html b/module-tokenizer.html index 20478de..52d51af 100644 --- a/module-tokenizer.html +++ b/module-tokenizer.html @@ -252,7 +252,7 @@
Returns:

diff --git a/module-util.html b/module-util.html index c158d4d..32fba1c 100644 --- a/module-util.html +++ b/module-util.html @@ -302,7 +302,7 @@
Returns:

diff --git a/parser.js.html b/parser.js.html index 8552900..94d68bb 100644 --- a/parser.js.html +++ b/parser.js.html @@ -226,7 +226,7 @@

parser.js


diff --git a/token_key.js.html b/token_key.js.html index 086642a..7dc32d8 100644 --- a/token_key.js.html +++ b/token_key.js.html @@ -92,7 +92,7 @@

token/key.js


diff --git a/token_tagtoken.js.html b/token_tagtoken.js.html index b4c4f59..b6b9a87 100644 --- a/token_tagtoken.js.html +++ b/token_tagtoken.js.html @@ -88,7 +88,7 @@

token/tagtoken.js


diff --git a/token_texttoken.js.html b/token_texttoken.js.html index 4ee3e96..1e46131 100644 --- a/token_texttoken.js.html +++ b/token_texttoken.js.html @@ -78,7 +78,7 @@

token/texttoken.js


diff --git a/token_token.js.html b/token_token.js.html index 5521ef8..32efe1a 100644 --- a/token_token.js.html +++ b/token_token.js.html @@ -112,7 +112,7 @@

token/token.js


diff --git a/tokenizer.js.html b/tokenizer.js.html index 49dae62..b7c0207 100644 --- a/tokenizer.js.html +++ b/tokenizer.js.html @@ -178,7 +178,7 @@

tokenizer.js


diff --git a/util.js.html b/util.js.html index 6da9d6f..1933cb2 100644 --- a/util.js.html +++ b/util.js.html @@ -74,7 +74,7 @@

util.js