зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1282392 - xbl bindings fail with unused "bindings" when no-unused-vars is enabled. r=miker
This commit is contained in:
Родитель
3ca9eb9112
Коммит
d03635aa1e
|
@ -224,7 +224,7 @@ module.exports = {
|
|||
addSyntheticLine(`*/`, 0);
|
||||
}
|
||||
|
||||
addSyntheticLine(`var bindings = {`, bindings.textLine);
|
||||
addSyntheticLine(`this.bindings = {`, bindings.textLine);
|
||||
|
||||
for (let binding of bindings.children) {
|
||||
if (binding.local != "binding" || binding.namespace != NS_XBL) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче