From fe38029cc10210b174c1f45d9147cd736afd6100 Mon Sep 17 00:00:00 2001 From: bibhu Date: Sun, 16 Apr 2023 12:11:18 +0530 Subject: [PATCH 1/3] Fixing issue #2284 --- .../core/src/html/vueSlotSyntaxProcessor.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/core/src/html/vueSlotSyntaxProcessor.ts b/packages/core/src/html/vueSlotSyntaxProcessor.ts index da827fc071..a59f505560 100644 --- a/packages/core/src/html/vueSlotSyntaxProcessor.ts +++ b/packages/core/src/html/vueSlotSyntaxProcessor.ts @@ -65,21 +65,3 @@ export function transformOldSlotSyntax(node: MbNode) { } }); } - -export function renameSlot(node: MbNode, originalName: string, newName: string) { - if (!node.children) { - return; - } - - node.children.forEach((child) => { - const vslotShorthandName = getVslotShorthandName(child); - if (vslotShorthandName && vslotShorthandName === originalName) { - const newVslot = `#${newName}`; - - if (child.attribs) { - child.attribs[newVslot] = ''; - delete child.attribs[`#${vslotShorthandName}`]; - } - } - }); -} From 67a84cda355c01f3383ee6f0dc3c13c576a70a3a Mon Sep 17 00:00:00 2001 From: bibhu Date: Sun, 16 Apr 2023 13:37:26 +0530 Subject: [PATCH 2/3] Fixing issue #2282 --- docs/devGuide/bootcamp/exploreMarkBind.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/devGuide/bootcamp/exploreMarkBind.md b/docs/devGuide/bootcamp/exploreMarkBind.md index abb1e6c656..c700180336 100644 --- a/docs/devGuide/bootcamp/exploreMarkBind.md +++ b/docs/devGuide/bootcamp/exploreMarkBind.md @@ -218,7 +218,6 @@ $ markbind init info: Initialization success. ``` -4. With the site generated, create a `.gitignore` file in the root directory and add the recommended contentrecommended content to it. This is to ensure log files etc are not committed to the repository. From fa6ffc600d73b28e37d952ed3e31061f1b6e4d5b Mon Sep 17 00:00:00 2001 From: bibhu Date: Sun, 16 Apr 2023 16:01:47 +0530 Subject: [PATCH 3/3] Revert "Fixing issue #2282" This reverts commit 67a84cda355c01f3383ee6f0dc3c13c576a70a3a. --- docs/devGuide/bootcamp/exploreMarkBind.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/devGuide/bootcamp/exploreMarkBind.md b/docs/devGuide/bootcamp/exploreMarkBind.md index c700180336..abb1e6c656 100644 --- a/docs/devGuide/bootcamp/exploreMarkBind.md +++ b/docs/devGuide/bootcamp/exploreMarkBind.md @@ -218,6 +218,7 @@ $ markbind init info: Initialization success. ``` +4. With the site generated, create a `.gitignore` file in the root directory and add the recommended contentrecommended content to it. This is to ensure log files etc are not committed to the repository.