gnome-shell/js/ui
Florian Müllner 0ee7f02f8e cleanup: Don't assume hasOwnProperty() method on objects
Since ES5, it is possible to create objects with no prototype at all:

    let foo = Object.create(null);

Those object won't have any builtin properties like hasOwnProperty(),
which is why eslint added a corresponding rule to its default rule set.

While this isn't an issue that affects our code, there's no harm in fol-
lowing the recommendation and call the method through Object.prototype.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/716
2019-09-12 23:18:27 +02:00
..
components cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
status cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
accessDialog.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
altTab.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
animation.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
appDisplay.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
appFavorites.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
audioDeviceSelection.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
background.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
backgroundMenu.js backgroundMenu: Animate menu opening 2019-09-11 23:25:21 +00:00
barLevel.js barLevel: Remove duplicated assignment 2019-08-13 16:35:17 +02:00
boxpointer.js js: Use implicit animations for animatable properties 2019-08-06 23:54:29 +02:00
calendar.js calendar: Use template strings over concatenation 2019-09-11 20:59:31 +00:00
checkBox.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
closeDialog.js js: Use implicit animations for animatable properties 2019-08-06 23:54:29 +02:00
ctrlAltTab.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
dash.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
dateMenu.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
dialog.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
dnd.js dnd: Fix drag cancel animation scale 2019-08-09 10:58:46 -03:00
edgeDragAction.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
endSessionDialog.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
environment.js environment: Skip property animations while hidden 2019-09-10 14:41:26 +00:00
extensionDownloader.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
extensionSystem.js extensionSystem: Add missing return value 2019-09-12 12:45:05 +02:00
focusCaretTracker.js cleanup: Prefer template strings 2019-07-05 11:32:31 +00:00
grabHelper.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
ibusCandidatePopup.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
iconGrid.js iconGrid: Queue a relayout after child opacity changes 2019-09-09 19:39:28 +00:00
inhibitShortcutsDialog.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
kbdA11yDialog.js kbdA11yDialog: Avoid unnecessary ternary operators 2019-09-11 20:59:31 +00:00
keyboard.js keyboard: Treat menu items as actors 2019-09-09 19:28:18 +00:00
layout.js cleanup: Don't assume hasOwnProperty() method on objects 2019-09-12 23:18:27 +02:00
lightbox.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
locatePointer.js locatePointer: Bind ripples creation to settings 2019-09-09 19:28:18 +00:00
lookingGlass.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
magnifier.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
magnifierDBus.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
main.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
messageList.js js: Ease non-animatable actor properties 2019-08-06 23:54:29 +02:00
messageTray.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
modalDialog.js js: Use implicit animations for animatable properties 2019-08-06 23:54:29 +02:00
mpris.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
notificationDaemon.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
osdMonitorLabeler.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
osdWindow.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
overview.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
overviewControls.js overviewControls: Remove slide transitions before setting value manually 2019-09-11 11:39:44 +00:00
padOsd.js style: Disable camelcase rule for GObject properties 2019-07-24 00:28:45 +02:00
pageIndicators.js js: Use implicit animations for animatable properties 2019-08-06 23:54:29 +02:00
panel.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
panelMenu.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
pointerA11yTimeout.js cleanup: Remove left-over imports 2019-09-11 20:59:31 +00:00
pointerWatcher.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
popupMenu.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
remoteSearch.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
ripples.js ripples: Add destroy() method and remove them when unneeded 2019-09-09 19:28:18 +00:00
runDialog.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
screencast.js
screenShield.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
screenshot.js selectArea: Ignore motion events once we got a result 2019-09-10 22:08:25 +02:00
scripting.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
search.js search: Remove updateSearch later on destruction 2019-09-09 19:28:18 +00:00
sessionMode.js cleanup: Don't assume hasOwnProperty() method on objects 2019-09-12 23:18:27 +02:00
shellDBus.js shellDBus: Use floats instead of percentages for OSD levels 2019-07-28 17:27:53 +02:00
shellEntry.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
shellMountOperation.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
slider.js slider: Do not notify on parent's behalf 2019-08-13 16:35:17 +02:00
switcherPopup.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
switchMonitor.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
tweener.js tweener: Use new adjustAnimationTime() helper 2019-08-06 20:50:43 +02:00
unlockDialog.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
userWidget.js userWidget: Handle non-square icons gracefully 2019-07-29 16:16:22 +00:00
viewSelector.js cleanup: "Only" use two indentation styles for object literals 2019-09-12 23:18:24 +02:00
windowAttentionHandler.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
windowManager.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
windowMenu.js windowMenu: Animate menu 2019-09-12 16:01:46 +00:00
workspace.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
workspacesView.js workspacesDisplay: Disconnect MetaLater and parent signals on destroy 2019-09-09 19:28:18 +00:00
workspaceSwitcherPopup.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
workspaceThumbnail.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
xdndHandler.js cleanup: Mark unused (but useful) variables as ignored 2019-07-24 00:28:45 +02:00