Skip to content

Commit

Permalink
fix: sidekick v7 update (#54)
Browse files Browse the repository at this point in the history
* Update config.json

* Update config.json

* Delete scripts/sidekick.js

* Remove sidekick.js
  • Loading branch information
mhaack authored Nov 22, 2024
1 parent dda0a1b commit f1505b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 90 deletions.
1 change: 0 additions & 1 deletion scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ function loadDelayed() {
// eslint-disable-next-line import/no-cycle
window.setTimeout(() => import('./delayed.js'), 3000);
// load anything that can be postponed to the latest here
import('./sidekick.js').then(({ initSidekick }) => initSidekick());
}

async function loadPage() {
Expand Down
81 changes: 0 additions & 81 deletions scripts/sidekick.js

This file was deleted.

11 changes: 3 additions & 8 deletions tools/sidekick/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
{
"plugins": [
{
"id": "aemedit",
"title": "Edit",
"environments": [ "dev", "preview", "live" ],
"event": "aemedit"
}
]
"project": "AEM XWalk Boilerplate",
"editUrlLabel": "AEM Editor",
"editUrlPattern": "{{contentSourceUrl}}{{pathname}}?cmd=open"
}

0 comments on commit f1505b2

Please sign in to comment.