gnome-shell/js/ui
Florian Müllner e2e02c9a2f cleanup: Avoid implicit coercion
Converting a variable to a particular type can be done explicitly (with
functions like Number() or toString()) or implicitly by relying on type
coercion (like concatenating a variable to the empty string to force
a string, or multiplying it with 1 to force a number).

As those tend to be less readable and clear, they are best avoided. So
replace the cases of string coercion we use with template strings, and
clarify the places that can be confused with number coercion.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607
2019-07-01 23:44:11 +02:00
..
components cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
status cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
accessDialog.js modalDialog: Inherit from St.Widget 2019-05-24 16:27:25 -05:00
altTab.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
animation.js animation: fix unintentional loop while polkit dialog is active 2019-06-27 14:54:36 -04:00
appDisplay.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
appFavorites.js appFavorites: Update RENAMED_DESKTOP_IDS 2019-04-11 23:28:49 +02:00
audioDeviceSelection.js modalDialog: Inherit from St.Widget 2019-05-24 16:27:25 -05:00
background.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
backgroundMenu.js popupMenu: Make MenuManager to take an actor as parameter 2019-04-17 21:32:18 +00:00
barLevel.js cleanup: Avoid implicit coercion 2019-07-01 23:44:11 +02:00
boxpointer.js cleanup: Clean up unused imports 2019-07-01 23:44:10 +02:00
calendar.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
checkBox.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
closeDialog.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
ctrlAltTab.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
dash.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
dateMenu.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
dialog.js dialog: Use GObject.set() over Object.assign() 2019-06-26 20:49:46 +02:00
dnd.js dnd: Multiply drag threshold by output scale 2019-03-13 17:22:35 +00:00
edgeDragAction.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
endSessionDialog.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
environment.js cleanup: Use rest parameters instead of arguments 2019-07-01 23:44:10 +02:00
extensionDownloader.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
extensionSystem.js cleanup: Avoid implicit coercion 2019-07-01 23:44:11 +02:00
focusCaretTracker.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
grabHelper.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
ibusCandidatePopup.js boxpointer: Don't use boxpointer actor, as it's now an actor itself 2019-04-17 21:32:18 +00:00
iconGrid.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
inhibitShortcutsDialog.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
kbdA11yDialog.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
keyboard.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
layout.js layout: Use addChrome instead of addTopChrome for screenShieldGroup 2019-06-21 20:57:23 +00:00
lightbox.js Theme: update to sync with gtk Adwaita 2019-06-21 10:44:08 +02:00
locatePointer.js cleanup: Clean up unused imports 2019-07-01 23:44:10 +02:00
lookingGlass.js cleanup: Avoid implicit coercion 2019-07-01 23:44:11 +02:00
magnifier.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
magnifierDBus.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
main.js cleanup: Avoid implicit coercion 2019-07-01 23:44:11 +02:00
messageList.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
messageTray.js cleanup: Remove unneeded escapes in regex 2019-07-01 23:44:10 +02:00
modalDialog.js cleanup: Clean up unused imports 2019-07-01 23:44:10 +02:00
mpris.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
notificationDaemon.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
osdMonitorLabeler.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
osdWindow.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
overview.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
overviewControls.js js: Throw GObject.NotImplementedError when requiring overriding 2019-05-21 15:43:21 -05:00
padOsd.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
pageIndicators.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
panel.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
panelMenu.js panelMenu: Remove usage of this.actor from Button 2019-04-17 21:32:18 +00:00
pointerA11yTimeout.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
pointerWatcher.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
popupMenu.js popupMenu: Use regular method style 2019-07-01 21:09:49 +00:00
remoteSearch.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
ripples.js cleanup: Clean up unused imports 2019-07-01 23:44:10 +02:00
runDialog.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
screencast.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
screenShield.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
screenshot.js screenshot: Don't pick up rubberband style from GTK 2019-04-11 17:27:50 +00:00
scripting.js scripting: Don't use legacy API 2019-03-21 10:18:02 +00:00
search.js search: reload search providers when installed applications change 2019-05-29 20:33:16 +00:00
sessionMode.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
shellDBus.js cleanup: Avoid implicit coercion 2019-07-01 23:44:11 +02:00
shellEntry.js popupMenu: Make MenuManager to take an actor as parameter 2019-04-17 21:32:18 +00:00
shellMountOperation.js shellMountOperation: Remove unused functions 2019-07-01 21:09:49 +00:00
slider.js cleanup: Avoid implicit coercion 2019-07-01 23:44:11 +02:00
switcherPopup.js js: Throw GObject.NotImplementedError when requiring overriding 2019-05-21 15:43:21 -05:00
switchMonitor.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
tweener.js cleanup: Use rest operator to handle overly long argument lists 2019-07-01 23:44:10 +02:00
unlockDialog.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
userWidget.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
viewSelector.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
windowAttentionHandler.js windowAttentionHandler: disconnect signals before destruction 2019-05-27 08:35:56 -07:00
windowManager.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
windowMenu.js sessionMode: add a property to disable window manager menus 2019-06-06 01:25:04 +00:00
workspace.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
workspacesView.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
workspaceSwitcherPopup.js workspaceSwitcherPopup: Remove this.actor definition to self 2019-04-17 21:32:18 +00:00
workspaceThumbnail.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
xdndHandler.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00