change some lambdas to functions
This commit is contained in:
parent
d4d791f14e
commit
905c984148
@ -19,7 +19,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
window.loadHistory = (() => {
|
||||
window.loadHistory = (function() {
|
||||
// Date of last seen item.
|
||||
let lastItemDate = null;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
window._qutebrowser.scroll = (() => {
|
||||
window._qutebrowser.scroll = (function() {
|
||||
const funcs = {};
|
||||
|
||||
funcs.to_perc = (x, y) => {
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
window._qutebrowser.webelem = (() => {
|
||||
window._qutebrowser.webelem = (function() {
|
||||
const funcs = {};
|
||||
const elements = [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user