Skip to content

Commit

Permalink
Add a newline when loading JavaScript files
Browse files Browse the repository at this point in the history
This avoids problems when the files are concatenated later.
  • Loading branch information
splitbrain committed Jun 5, 2011
1 parent 1b06a5d commit 17582ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exe/js.php
Expand Up @@ -185,7 +185,7 @@ function js_load($file){
}
$data = str_replace($match[0],$idata,$data);
}
echo $data;
echo "$data\n";
}

/**
Expand Down

0 comments on commit 17582ec

Please sign in to comment.