diff --git a/js/lib/chatzilla-protocol-script.js b/js/lib/chatzilla-protocol-script.js --- a/js/lib/chatzilla-protocol-script.js +++ b/js/lib/chatzilla-protocol-script.js @@ -1,11 +1,10 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ const { utils: Cu } = Components; -Cu.import("chrome://chatzilla/content/lib/js/protocol-handlers.jsm"); -/* global ChatZillaProtocols */ +let { ChatZillaProtocols } = Cu.import("chrome://chatzilla/content/lib/js/protocol-handlers.jsm", {}); ChatZillaProtocols.init();