/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
module.exports = { extends: "../../../../toolkit/components/extensions/.eslintrc.js", // Ideally mobile should also follow the convention of // parent/ext-*.js for parent scripts and // child/ext-*.js for child scripts, // but the current file structure predates the parent/ vs child/ separation.
overrides: [
{
files: ["ext-*.js"],
excludedFiles: ["ext-c-*.js"],
globals: {
...globalsParent, // These globals are defined in ext-android.js and can only be used in // the extension files that run in the parent process.
EventDispatcher: true,
ExtensionError: true,
makeGlobalEvent: true,
TabContext: true,
tabTracker: true,
windowTracker: true,
},
},
{
files: ["ext-c-*.js"],
globals: {
...globalsChild, // If there were ever globals exported in ext-c-android.js for common // use, then they would appear here.
},
},
],
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.