}
+ function packJS($dir)
+ {
+
+ // target has to be 'aliased'
+ // target filename can be an md5..
+
+ require_once 'Pman/Core/JsCompile.php';
+ $x = new Pman_Core_JsCompile();
+ $x->packScript(dirname(__FILE__).'/Hex/templates/images',
+ array($dir),
+ $this->rootURL . '/Hex/templates/images');
+
+
+ }