change some lambdas to functions

This commit is contained in:
plexigras 2017-10-31 12:54:26 +01:00
parent d4d791f14e
commit 905c984148
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@
"use strict";
window.loadHistory = (() => {
window.loadHistory = (function() {
// Date of last seen item.
let lastItemDate = null;

View File

@ -27,7 +27,7 @@
*/
"use strict";
(() => {
(function() {
// FIXME:qtwebengine integrate this with other window._qutebrowser code?
function isElementInViewport(node) { // eslint-disable-line complexity
let i;

View File

@ -19,7 +19,7 @@
"use strict";
window._qutebrowser.scroll = (() => {
window._qutebrowser.scroll = (function() {
const funcs = {};
funcs.to_perc = (x, y) => {

View File

@ -36,7 +36,7 @@
"use strict";
window._qutebrowser.webelem = (() => {
window._qutebrowser.webelem = (function() {
const funcs = {};
const elements = [];