Skip to content

Commit f34ad2d

Browse files
author
Shane Osbourne
committed
Added initial duckplayer page without refactor
1 parent 4058a33 commit f34ad2d

38 files changed

+3340
-1523
lines changed

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ let package = Package(
2020
name: "ContentScopeScripts",
2121
dependencies: [],
2222
resources: [
23-
.process("dist")
23+
.process("dist/contentScope.js"),
24+
.copy("dist/pages"),
2425
]
2526
),
2627
]

inject/chrome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function init () {
130130
}
131131
})
132132

133-
window.addEventListener('sendMessageProxy' + messageSecret, event => {
133+
window.addEventListener('{sendMessageProxy}' + messageSecret, event => {
134134
event.stopImmediatePropagation()
135135

136136
if (!(event instanceof CustomEvent) || !event?.detail) {

0 commit comments

Comments
 (0)