зеркало из https://github.com/mozilla/gecko-dev.git
bug 350319 - Fix js strict warning in getStyleSheet. Patch by Stefan Sitter <ssitter@googlemail.com>, r=lilmatt
This commit is contained in:
Родитель
69c5017be2
Коммит
40eb684fdf
|
@ -278,6 +278,8 @@ function getStyleSheet(aStyleSheetPath) {
|
||||||
return sheet;
|
return sheet;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Avoid the js strict "function does not always return a value" warning.
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Updates the style rules for a particular object. If the object is a
|
// Updates the style rules for a particular object. If the object is a
|
||||||
|
|
Загрузка…
Ссылка в новой задаче