From 7717e92f333752ecf736dacb13f0857c89af71de Mon Sep 17 00:00:00 2001 From: Makis Tracend Date: Sat, 22 Jun 2013 21:40:10 -0700 Subject: [PATCH] #88 tested creating a require object in the global namespace --- app/helpers/template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/template.php b/app/helpers/template.php index 6ca6ab3..953ce5d 100644 --- a/app/helpers/template.php +++ b/app/helpers/template.php @@ -242,6 +242,7 @@ function createClient( $dom ){ } // render the global client vars $client .= 'Object.extend(KISSCMS, '. json_encode_escaped( $GLOBALS['client'] ) .');'; + //$client .= 'var require = KISSCMS["require"];'; $client = $this->trimWhitespace($client); // #87 not caching client vars as a file