summaryrefslogtreecommitdiff
path: root/lib/exe/js.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-06-05 10:21:08 +0200
committerAndreas Gohr <andi@splitbrain.org>2011-06-05 10:21:08 +0200
commit17582ec6bab09e9d9faf53a93d22ecb4fbf2bb47 (patch)
tree24542a91886b98251a8fe6d69cca2e131ca39f7c /lib/exe/js.php
parent1b06a5d86a702753bdc7ecbc91a5826fb559fb58 (diff)
downloadrpg-17582ec6bab09e9d9faf53a93d22ecb4fbf2bb47.tar.gz
rpg-17582ec6bab09e9d9faf53a93d22ecb4fbf2bb47.tar.bz2
Add a newline when loading JavaScript files
This avoids problems when the files are concatenated later.
Diffstat (limited to 'lib/exe/js.php')
-rw-r--r--lib/exe/js.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php
index a3efff700..5ef3b5801 100644
--- a/lib/exe/js.php
+++ b/lib/exe/js.php
@@ -185,7 +185,7 @@ function js_load($file){
}
$data = str_replace($match[0],$idata,$data);
}
- echo $data;
+ echo "$data\n";
}
/**