lint: single quotes

This commit is contained in:
bordun 2019-10-30 11:46:29 +01:00
parent 0660c7cfd5
commit 08634c03d5

View file

@ -130,7 +130,7 @@ class Script extends Widget {
if (!parser.isLocal()) return err('httpGet error (' + url + '): non-local url')
var xhr = new XMLHttpRequest()
xhr.open("GET", url, true)
xhr.open('GET', url, true)
xhr.onload = (e)=>{
if (xhr.readyState === 4 && xhr.status === 200 && callback) {
callback(xhr.responseText)