summaryrefslogtreecommitdiff
path: root/buildscripts/apigen/pradosoft/combined.js.latte
diff options
context:
space:
mode:
authorJean-Luc Gyger <jean-luc.gyger@vysual.ch>2016-02-11 10:01:12 +0100
committerJean-Luc Gyger <jean-luc.gyger@vysual.ch>2016-02-11 10:01:12 +0100
commitd70861a8f9368773f2f0291454e9420174e6c14a (patch)
treee44a32e401211422fb05da355c9eef4d5934d9e9 /buildscripts/apigen/pradosoft/combined.js.latte
parentd32f65815eb6feb4bcb8a0c85572f722d7826342 (diff)
parent275f16b90a92c62935cb691d11e0bd124acf64e4 (diff)
Merge branch 'master' of https://github.com/majuca/prado
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}