[11:15]<hannesw> woohoo, importPackage has been fixed in rhino [11:15]<hannesw> https://bugzilla.mozilla.org/show_bug.cgi?id=421071 [11:15]<hannesw> so you can now do importPackage(javax.swing) without a 10x performance hit [11:15]<hannesw> I'm going to re-enable the ImporterTopLevel functions in helma-ng [12:20]<zumbrunn> that also effected importJar, I assume? [13:46]<zumbrunn> ah, no it didn't [13:47]<zumbrunn> different animal [13:59]<hannesw> zumbrunn: yes, different animal. [14:00]<hannesw> it's now called addToClasspath(), just because it's not limited to jars [14:00]<hannesw> and it's implemented in helma-ng's global.js [14:04]<zumbrunn> speaking of global.js reminds me, I some time ago did some experimenting with a "modules" object [14:05]<zumbrunn> like the one I was talking about regarding the import/load/require terminology [14:05]<zumbrunn> so you could do... var foo = modules.helma.File; [14:06]<zumbrunn> and... import(modules.helma.File); [14:06]<zumbrunn> which is kind of nice compare to something like... import('helma.File'); [14:06]<zumbrunn> http://github.com/zumbrunn/helma-ng/tree/master/modules/global.js [14:41]<hannesw> zumbrunn: yes, this is quite nice [14:42]<hannesw> you might want to use Object.defineProperty for the modules object