< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/base.js

Print this page




  91             var module = parts.shift();
  92             var path = parts;
  93             var cls = path.pop();
  94             cls = cls.substring(0, cls.length() - 6);
  95             path.push(cls);
  96 
  97             if (path[0] !== "javafx" || /\$\d+$/.test(cls)) {
  98                 return CONTINUE;
  99             }
 100 
 101             JFX_CLASSES[module].push(path);
 102 
 103             return CONTINUE;
 104         },
 105 
 106         visitFileFailed: function(file, ex) {
 107             return CONTINUE;
 108         }
 109     });
 110 
 111     Files.walkFileTree(rootDirectories[0], new JRTFSWalker());
 112 })();
 113 
 114 LOAD_FX_CLASSES(this, "javafx.base");


  91             var module = parts.shift();
  92             var path = parts;
  93             var cls = path.pop();
  94             cls = cls.substring(0, cls.length() - 6);
  95             path.push(cls);
  96 
  97             if (path[0] !== "javafx" || /\$\d+$/.test(cls)) {
  98                 return CONTINUE;
  99             }
 100 
 101             JFX_CLASSES[module].push(path);
 102 
 103             return CONTINUE;
 104         },
 105 
 106         visitFileFailed: function(file, ex) {
 107             return CONTINUE;
 108         }
 109     });
 110 
 111     Files.walkFileTree(rootDirectories.toArray()[0], new JRTFSWalker());
 112 })();
 113 
 114 LOAD_FX_CLASSES(this, "javafx.base");
< prev index next >