Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Use uglify inline_script
Browse files Browse the repository at this point in the history
Fixes #23
  • Loading branch information
dfreedm committed Mar 13, 2014
1 parent a541d97 commit 2837977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vulcan.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function removeCommentsAndWhitespace($) {
if (!this.attr('src')) {
var content = this.html();
var ast = uglify.parse(content);
this.replaceWith('<script>' + ast.print_to_string() + '</script>');
this.replaceWith('<script>' + ast.print_to_string({'inline_script': true}) + '</script>');
}
});
$(constants.CSS).each(function() {
Expand Down

0 comments on commit 2837977

Please sign in to comment.