From 9de55882103ccf8301a77f63fe70ae8ae2b724e5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 6 Apr 2019 14:07:00 +0200 Subject: [PATCH] lint: fixes --- src/client/app/widgets/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/app/widgets/utils.js b/src/client/app/widgets/utils.js index 97dde662..26467ae6 100644 --- a/src/client/app/widgets/utils.js +++ b/src/client/app/widgets/utils.js @@ -112,12 +112,12 @@ module.exports = { loopProtect = require('loop-protect') loopProtect.alias = '__protect' - loopProtect.hit = function (line) { - throw 'Potential infinite loop found on line ' + line + loopProtect.hit = function(line){ + throw 'Potential infinite loop found on line ' + line } sandbox.style.display = 'none' - sandbox.sandbox = "allow-scripts allow-same-origin" + sandbox.sandbox = 'allow-scripts allow-same-origin' document.body.appendChild(sandbox) sandbox.contentWindow.parsers = {} sandbox.contentWindow.__protect = loopProtect