diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-03-08 23:43:31 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-03-08 23:43:31 +0100 |
commit | 4d2d451e31055e306db13324f3db6674f9f9a4e0 (patch) | |
tree | bd9395317b0120fc6bb286e04dea1331b1111562 | |
parent | 73bea65db81c67139292d26518a078a4fae38f44 (diff) | |
download | rpg-4d2d451e31055e306db13324f3db6674f9f9a4e0.tar.gz rpg-4d2d451e31055e306db13324f3db6674f9f9a4e0.tar.bz2 |
always have a trailing newline in JavaScript output
This may fix https://bugzilla.mozilla.org/show_bug.cgi?id16033
darcs-hash:20070308224331-7ad00-e5ef018706062baf6bec2bd11dfb318e0fe4b1f6.gz
-rw-r--r-- | lib/exe/js.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php index 149b7ab5b..69b0ba27d 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -153,6 +153,8 @@ function js_out(){ $js = js_compress($js); } + $js .= "\n"; // https://bugzilla.mozilla.org/show_bug.cgi?id=316033 + // save cache file io_saveFile($cache,$js); |