8025689: fx:base.js classes not loading
authorjlaskey
Mon, 30 Sep 2013 18:09:33 -0300
changeset 20565 58b05d8bd373
parent 20564 f353da961684
child 20566 9da5fbf43096
8025689: fx:base.js classes not loading Reviewed-by: sundar Contributed-by: james.laskey@oracle.com
nashorn/src/jdk/nashorn/internal/runtime/resources/fx/base.js
--- a/nashorn/src/jdk/nashorn/internal/runtime/resources/fx/base.js	Mon Sep 30 21:33:38 2013 +0530
+++ b/nashorn/src/jdk/nashorn/internal/runtime/resources/fx/base.js	Mon Sep 30 18:09:33 2013 -0300
@@ -33,7 +33,6 @@
 var JFX_SWT_CLASSES      = [];
 
 function LOAD_FX_CLASSES(clsList) {
-
     for each (var cls in clsList) {
         // Ex. Stage = Java.type("javafx.stage.Stage");
         this[cls[cls.length - 1]] = Java.type(cls.join("."));
@@ -146,3 +145,5 @@
         }
     }
 })();
+
+LOAD_FX_CLASSES(JFX_BASE_CLASSES);