summaryrefslogtreecommitdiff
path: root/buildscripts/apigen/pradosoft/combined.js.latte
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/apigen/pradosoft/combined.js.latte')
-rw-r--r--buildscripts/apigen/pradosoft/combined.js.latte13
1 files changed, 1 insertions, 12 deletions
diff --git a/buildscripts/apigen/pradosoft/combined.js.latte b/buildscripts/apigen/pradosoft/combined.js.latte
index 73b12686..93ba3e4d 100644
--- a/buildscripts/apigen/pradosoft/combined.js.latte
+++ b/buildscripts/apigen/pradosoft/combined.js.latte
@@ -1,21 +1,10 @@
-{*
-ApiGen 2.8.0 - API documentation generator for PHP 5.3+
-
-Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com)
-Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich)
-Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville)
-
-For the full copyright and license information, please view
-the file LICENSE.md that was distributed with this source code.
-*}
{contentType javascript}
var ApiGen = ApiGen || {};
ApiGen.config = {$config->template};
{var $scripts = ['jquery.min.js', 'jquery.cookie.js', 'jquery.sprintf.js', 'jquery.autocomplete.js', 'jquery.sortElements.js', 'main.js']}
-{var $dir = dirname($template->getFile())}
{foreach $scripts as $script}
-{!file_get_contents("$dir/js/$script")}
+ {file_get_contents("$basePath/js/$script")|noescape}
{/foreach}