}
- function get()
+ function get($v, $opts=array())
{
+
+ $this->sessionState(0);
// get the modules.
- //header('Content-type: text/javascript');
+ header('Content-type: text/javascript');
$ff = HTML_FlexyFramework::get();
foreach($mods as $mod )
{
$prefix = $mod == $pr ? "" : "{$pr}.";
- var_dump($prefix);
+ //var_dump($prefix);
$pdir = $mod == $pr ? '' : ($pr .'/') ;
$dir = $this->rootDir .'/'.$pdir . $mod . '/jtemplates';
$out= array();
- $head = "$name = function(t)\n{\n var ret = [];\n\n";
+ $head = "$name = function(t)\n{\n var ret = '';\n\n";
$funcs = array();
// do not allow nested functions..?