Fix some bugs in the combined JS/CSS code (most of which I introduced

in my last refactor):

1) Actually combine the JS (I was only combining the CSS)
2) Add line breaks between the files and comment them so that we can
   find a specific file inside the blob.
3) Add an HTML comment to help developers figure out why they can't
   find their CSS/JS.
This commit is contained in:
Bharat Mediratta
2009-06-29 19:11:59 -07:00
parent 325203e1ca
commit 95b900d4f4
3 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class Admin_View_Core extends Gallery_View {
if ($function == "head") {
array_unshift($blocks, $this->combine_files($this->css, "css"));
array_unshift($blocks, $this->combine_files($this->css, "javascript"));
array_unshift($blocks, $this->combine_files($this->scripts, "javascript"));
}
if (Session::instance()->get("debug")) {