[gnome-shell/wip/fmuellner/es6-classes: 4/4] lookingGlass: Don't import Lang by default
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/es6-classes: 4/4] lookingGlass: Don't import Lang by default
- Date: Wed, 23 Jan 2019 14:49:34 +0000 (UTC)
commit 0df0fa3c97afb80d224d4cdaa0444a0df651de50
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Nov 27 23:48:44 2018 +0100
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. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]