]> git.proxmox.com Git - mirror_novnc.git/blobdiff - core/base64.js
Add eslint and fix reported issues
[mirror_novnc.git] / core / base64.js
index 5182c29548986753a7c6d5fb441e39283d638bd1..48e28c313c640a2a1bc5bc6ef9bc3cb9bd2e09ed 100644 (file)
@@ -100,7 +100,7 @@ export default {
 
         // If there are any bits left, the base64 string was corrupted
         if (leftbits) {
-            err = new Error('Corrupted base64 string');
+            var err = new Error('Corrupted base64 string');
             err.name = 'Base64-Error';
             throw err;
         }