From 080ab94a0d023934b03e07081e3de27f8559cc21 Mon Sep 17 00:00:00 2001 From: Pimm Hogeling Date: Fri, 31 Aug 2012 15:51:31 +0200 Subject: [PATCH] Lint syntax fixes. --- src/jpx.js | 3 ++- src/worker.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/jpx.js b/src/jpx.js index c0c5d4116..c32ab18e2 100644 --- a/src/jpx.js +++ b/src/jpx.js @@ -255,7 +255,8 @@ var JpxImage = (function JpxImageClosure() { cod.resetContextProbabilities || cod.terminationOnEachCodingPass || cod.verticalyStripe || cod.predictableTermination) - throw 'Unsupported COD options: ' + globalScope.JSON.stringify(cod); + throw 'Unsupported COD options: ' + + globalScope.JSON.stringify(cod); if (context.mainHeader) context.COD = cod; diff --git a/src/worker.js b/src/worker.js index 25a509e80..940453350 100644 --- a/src/worker.js +++ b/src/worker.js @@ -13,7 +13,8 @@ function MessageHandler(name, comObj) { ah['console_log'] = [function ahConsoleLog(data) { log.apply(null, data); }]; - // If there's no console available, console_error in the action handler will do nothing. + // If there's no console available, console_error in the + // action handler will do nothing. if ('console' in globalScope) { ah['console_error'] = [function ahConsoleError(data) { globalScope['console'].error.apply(null, data);