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
This commit is contained in:
parent
b7e2718bdc
commit
d80e7e0118
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user