X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fswingjs%2FJSImage.js;h=db7a9a89a625633f967cc9cdbb28f9c2f170985b;hp=bca7fa64a82b0a809664c2318a80e915aa964b8f;hb=7301a2415adab88038b291fc54caeeb3a5a47a44;hpb=6154cb57a6eac3bb1344b8342495f5bb701ee921 diff --git a/site/j2s/swingjs/JSImage.js b/site/j2s/swingjs/JSImage.js index bca7fa6..db7a9a8 100644 --- a/site/j2s/swingjs/JSImage.js +++ b/site/j2s/swingjs/JSImage.js @@ -11,9 +11,8 @@ Clazz.instantialize (this, arguments); Clazz.makeConstructor (c$, function (argb, width, height) { Clazz.superConstructor (this, swingjs.JSImage, [width, height, 2]); -this.width = width -this.height = height - +this.width = width; +this.height = height; this.pix = argb; }, "~A,~N,~N"); Clazz.defineMethod (c$, "toIntARGB",