Commit 504e6d78 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Standard: use single quotes

parent 46c142ac
...@@ -56,7 +56,7 @@ var run = function () { ...@@ -56,7 +56,7 @@ var run = function () {
// -------- check file upload capabilities ------- // -------- check file upload capabilities -------
if (!(window.File || window.FileReader || window.FileList || window.Blob)) { if (!(window.File || window.FileReader || window.FileList || window.Blob)) {
$(".uploadFile").remove(); $('.uploadFile').remove();
} }
// ------------------ gist load ---------------- // ------------------ gist load ----------------
......
...@@ -12,9 +12,9 @@ module.exports = function (self) { ...@@ -12,9 +12,9 @@ module.exports = function (self) {
compileJSON = null; compileJSON = null;
importScripts(data.data); importScripts(data.data);
version = Module.cwrap("version", "string", []); version = Module.cwrap('version', 'string', []);
if ('_compileJSONCallback' in Module) { if ('_compileJSONCallback' in Module) {
var compileJSONInternal = Module.cwrap("compileJSONCallback", "string", ["string", "number", "number"]); var compileJSONInternal = Module.cwrap('compileJSONCallback', 'string', ['string', 'number', 'number']);
var missingInputCallback = Module.Runtime.addFunction(function (path) { var missingInputCallback = Module.Runtime.addFunction(function (path) {
missingInputs.push(Module.Pointer_stringify(path)); missingInputs.push(Module.Pointer_stringify(path));
}); });
...@@ -22,9 +22,9 @@ module.exports = function (self) { ...@@ -22,9 +22,9 @@ module.exports = function (self) {
return compileJSONInternal(input, optimize, missingInputCallback); return compileJSONInternal(input, optimize, missingInputCallback);
}; };
} else if ('_compileJSONMulti' in Module) { } else if ('_compileJSONMulti' in Module) {
compileJSON = Module.cwrap("compileJSONMulti", "string", ["string", "number"]); compileJSON = Module.cwrap('compileJSONMulti', 'string', ['string', 'number']);
} else { } else {
compileJSON = Module.cwrap("compileJSON", "string", ["string", "number"]); compileJSON = Module.cwrap('compileJSON', 'string', ['string', 'number']);
} }
postMessage({ postMessage({
cmd: 'versionLoaded', cmd: 'versionLoaded',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment