зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1374174 - Package UITour-lib.js only in onboarding extension to prevent noreference error. r=mossop
MozReview-Commit-ID: Fbxexo179pk --HG-- extra : rebase_source : 479ec91fc056a012c42954aa65e6dd77984f92f4
This commit is contained in:
Родитель
f09d66a6b0
Коммит
4ae765a391
|
@ -4,4 +4,3 @@
|
|||
|
||||
browser.jar:
|
||||
content/browser/content-UITour.js
|
||||
content/browser/UITour-lib.js
|
||||
|
|
|
@ -14,7 +14,7 @@ const ONBOARDING_CSS_URL = "resource://onboarding/onboarding.css";
|
|||
const ABOUT_HOME_URL = "about:home";
|
||||
const ABOUT_NEWTAB_URL = "about:newtab";
|
||||
const BUNDLE_URI = "chrome://onboarding/locale/onboarding.properties";
|
||||
const UITOUR_JS_URI = "chrome://browser/content/UITour-lib.js";
|
||||
const UITOUR_JS_URI = "resource://onboarding/lib/UITour-lib.js";
|
||||
const TOUR_AGENT_JS_URI = "resource://onboarding/onboarding-tour-agent.js";
|
||||
const BRAND_SHORT_NAME = Services.strings
|
||||
.createBundle("chrome://branding/locale/brand.properties")
|
||||
|
|
|
@ -5,3 +5,7 @@
|
|||
[features/onboarding@mozilla.org] chrome.jar:
|
||||
% resource onboarding %content/
|
||||
content/ (content/*)
|
||||
# Package UITour-lib.js in here rather than under
|
||||
# /browser/components/uitour to avoid "unreferenced files" error when
|
||||
# Onboarding extension is not built.
|
||||
content/lib/UITour-lib.js (/browser/components/uitour/UITour-lib.js)
|
||||
|
|
Загрузка…
Ссылка в новой задаче