зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1069682 - part 1 - ensure the addon-sdk's JS modules include .html files; r=erikvold
This commit is contained in:
Родитель
ad1da648b6
Коммит
15b4a517ea
|
@ -48,7 +48,7 @@ class MachCommands(MachCommandBase):
|
||||||
dirs_to_files = {}
|
dirs_to_files = {}
|
||||||
|
|
||||||
for path, dirs, files in os.walk(js_src_dir):
|
for path, dirs, files in os.walk(js_src_dir):
|
||||||
js_files = [f for f in files if f.endswith(('.js', '.jsm'))]
|
js_files = [f for f in files if f.endswith(('.js', '.jsm', '.html'))]
|
||||||
if not js_files:
|
if not js_files:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
@ -399,6 +399,7 @@ EXTRA_JS_MODULES.commonjs.sdk.ui.button.view += [
|
||||||
|
|
||||||
EXTRA_JS_MODULES.commonjs.sdk.ui.frame += [
|
EXTRA_JS_MODULES.commonjs.sdk.ui.frame += [
|
||||||
'source/lib/sdk/ui/frame/model.js',
|
'source/lib/sdk/ui/frame/model.js',
|
||||||
|
'source/lib/sdk/ui/frame/view.html',
|
||||||
'source/lib/sdk/ui/frame/view.js',
|
'source/lib/sdk/ui/frame/view.js',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче