From d80e7e011874f323639929e1650781beb7ff9bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 27 Nov 2018 23:48:44 +0100 Subject: [PATCH] lookingGlass: Don't import Lang by default With arrow functions, Function.prototype.bind() and ES6 classes, the Lang module is rarely needed nowadays. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/361 --- js/ui/lookingGlass.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index ce1402149..8c5e29402 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -34,7 +34,6 @@ var commandHeader = 'const Clutter = imports.gi.Clutter; ' + 'const Meta = imports.gi.Meta; ' + 'const Shell = imports.gi.Shell; ' + 'const Main = imports.ui.main; ' + - 'const Lang = imports.lang; ' + 'const Tweener = imports.ui.tweener; ' + /* Utility functions...we should probably be able to use these * in the shell core code too. */