Index: lib/utils.js |
=================================================================== |
--- a/lib/utils.js |
+++ b/lib/utils.js |
@@ -10,19 +10,17 @@ |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
* GNU General Public License for more details. |
* |
* You should have received a copy of the GNU General Public License |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
-"use strict"; |
- |
-let Utils = exports.Utils = { |
+export const Utils = { |
systemPrincipal: null, |
runAsync(callback) |
{ |
if (document.readyState == "loading") |
{ |
// Make sure to not run asynchronous actions before all |
// scripts loaded. This caused issues on Opera in the past. |
let onDOMContentLoaded = () => |