Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
1 /* Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ */
3 function whenNewWindowLoaded(aOptions, aCallback) {
4 let win = OpenBrowserWindow(aOptions);
5 win.addEventListener("load", function onLoad() {
6 win.removeEventListener("load", onLoad, false);
7 aCallback(win);
8 }, false);
9 }