gnome-shell/js/misc
Florian Müllner 3b1330880f cleanup: Use Function.prototype.bind()
When not using arrow notation with anonymous functions, we use Lang.bind()
to bind `this` to named callbacks. However since ES5, this functionality
is already provided by Function.prototype.bind() - in fact, Lang.bind()
itself uses it when no extra arguments are specified. Just use the built-in
function directly where possible, and use arrow notation in the few places
where we pass additional arguments.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/23
2018-02-21 13:55:02 +00:00
..
config.js.in networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
extensionUtils.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
fileUtils.js fileUtils: Remove listDirAsync() 2014-01-09 13:23:26 -05:00
gnomeSession.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
history.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
ibusManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
inputMethod.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
jsParse.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
keyboardManager.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
loginManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
meson.build networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
modemManager.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
objectManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
params.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
permissionStore.js weather: Follow GNOME Weather's location permissions 2017-03-20 19:13:20 +01:00
smartcardManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
systemActions.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
util.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
weather.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00