lint: fixes
This commit is contained in:
parent
edc96b89e3
commit
9de5588210
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue