Example #1
0
 public static function generateAjaxJS()
 {
     /*
     $data                 = N2Post::getVar('loadedJSS');
     $alreadyLoadedJSFiles = array();
     if (!empty($data)) {
         $alreadyLoadedJSFiles = (array)json_decode(base64_decode($data));
     }
     
     self::$js->removeFiles($alreadyLoadedJSFiles);
     */
     return self::$js->getAjaxOutput();
 }
Example #2
0
 protected function createInlineCode($group, &$codes)
 {
     return N2AssetsJs::serveJquery(parent::createInlineCode($group, $codes));
 }