Skip to content

Commit 90b56d0

Browse files
committed
Added a file for utility functions
The background page and popover both share the same function.
1 parent 8eecf62 commit 90b56d0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
<dict>
2626
<key>Filename</key>
2727
<string>popover.html</string>
28-
<key>Height</key>
29-
<real>400</real>
3028
<key>Identifier</key>
3129
<string>DexPopover</string>
30+
<key>Height</key>
31+
<real>400</real>
3232
<key>Width</key>
3333
<real>300</real>
3434
</dict>

build.rb

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
if EXT_BACKGROUND_PAGE
5252
@text_files.push "background.html"
53+
@cs_files.push "utils.coffee"
5354
@cs_files.push "background.coffee"
5455
end
5556

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"default_popup": "popover.html"
1717
},
1818
"background": {
19-
"scripts": ["background.js"],
19+
"scripts": ["utils.js","background.js"],
2020
"persistent": true
2121
},
2222
"content_security_policy": "default-src 'self' 'unsafe-eval' <%= DEX_URL %>",

0 commit comments

Comments
 (0)