Bug 1209470 - Remove use of expression closure from Add-on SDK. r=mossop
This commit is contained in:
@@ -142,7 +142,9 @@ function getToplevelWindow(window) {
|
||||
}
|
||||
exports.getToplevelWindow = getToplevelWindow;
|
||||
|
||||
function getWindowDocShell(window) window.gBrowser.docShell;
|
||||
function getWindowDocShell(window) {
|
||||
return window.gBrowser.docShell;
|
||||
}
|
||||
exports.getWindowDocShell = getWindowDocShell;
|
||||
|
||||
function getWindowLoadingContext(window) {
|
||||
|
||||
Reference in New Issue
Block a user