Forcing cached script output to be written inline (JavascriptHelper)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4548 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-02-21 16:53:32 +00:00
parent 163e820188
commit 552e6850c3

View file

@ -281,7 +281,7 @@ class JavascriptHelper extends AppHelper {
}
$out = $this->link($filename);
} else {
$out = $this->codeBlock("\n" . $data . "\n");
$out = $this->codeBlock("\n" . $data . "\n", true);
}
if ($inline) {
return $out;