js-mode cleanups

This commit is contained in:
fjenett
2011-06-07 06:13:02 +00:00
parent 2cf49ff26c
commit c2c56a7f1b
4 changed files with 40 additions and 56 deletions

View File

@@ -12,6 +12,7 @@ import processing.app.Base;
import processing.app.Editor;
import processing.app.Mode;
import processing.app.Sketch;
import processing.app.SketchException;
import processing.app.syntax.PdeKeywords;
import processing.core.PApplet;
@@ -137,7 +138,7 @@ public class JavaScriptMode extends Mode
// ------------------------------------------------
public boolean handleExport(Sketch sketch) throws IOException
public boolean handleExport(Sketch sketch) throws IOException, SketchException
{
JavaScriptBuild build = new JavaScriptBuild(sketch);
return build.export();