| Index: lib/customizableUI.js |
| =================================================================== |
| --- a/lib/customizableUI.js |
| +++ b/lib/customizableUI.js |
| @@ -19,17 +19,17 @@ |
| * @fileOverview This emulates a subset of the CustomizableUI API from Firefox 28. |
| */ |
| let {XPCOMUtils} = Cu.import("resource://gre/modules/XPCOMUtils.jsm", null); |
| let {Utils} = require("utils"); |
| // UI module has to be referenced lazily to avoid circular references |
| -XPCOMUtils.defineLazyGetter(this, "UI", function() require("ui").UI); |
| +XPCOMUtils.defineLazyGetter(this, "UI", () => require("ui").UI); |
| let widgets = Map(); |
| function getToolbox(/**Window*/ window, /**Widget*/ widget) /**Element*/ |
| { |
| if (!("defaultArea" in widget) || !widget.defaultArea) |
| return null; |