Skip to content

Commit c773f5f

Browse files
committed
lint fixes
1 parent bfe1339 commit c773f5f

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

eveal.js/eveal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Use when you load eveal.js like this, as a CSV list in query
1414
// Get the currently executing script
1515
const FLAGS = new URL(document.currentScript.src).search.slice(1).split(',').filter((e) => !!e)
1616
const BASE = document.currentScript.src.split('?')[0].replace(/\/eveal\.js$/, '/reveal.js/')
17+
// eslint-disable-next-line no-console
1718
console.log({ BASE, FLAGS })
1819

1920
// Utility - loads an external JS file and append it to the head

ux/flip/core.string.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable */
2+
13
/**
24
* @depends nothing
35
* @name core.string
@@ -223,16 +225,16 @@ String.prototype.queryStringToJSON = String.prototype.queryStringToJSON || funct
223225
cmd = 'if ( typeof jsonCLOSUREGLOBAL'+path+' === "undefined" ) jsonCLOSUREGLOBAL'+path+' = {}';
224226
eval(cmd);
225227
json = jsonCLOSUREGLOBAL;
226-
delete jsonCLOSUREGLOBAL;
228+
jsonCLOSUREGLOBAL = undefined;
227229
});
228230
// Apply Value
229231
jsonCLOSUREGLOBAL = json; // we have made this a global as closure compiler struggles with evals
230232
valueCLOSUREGLOBAL = value; // we have made this a global as closure compiler struggles with evals
231233
cmd = 'jsonCLOSUREGLOBAL'+path+' = valueCLOSUREGLOBAL';
232234
eval(cmd);
233235
json = jsonCLOSUREGLOBAL;
234-
delete jsonCLOSUREGLOBAL;
235-
delete valueCLOSUREGLOBAL;
236+
jsonCLOSUREGLOBAL = undefined;
237+
valueCLOSUREGLOBAL = undefined;
236238
}
237239
// ^ We now have the parts added to your JSON object
238240
}

0 commit comments

Comments
 (0)