Skip to content

Commit

Permalink
Avoid double blank line betwen intro and code in dist/zepto.js
Browse files Browse the repository at this point in the history
Closes #923
  • Loading branch information
mislav committed Jul 7, 2014
1 parent 09e8f4c commit 6ca6e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ target.build = ->
modules = (env['MODULES'] || 'zepto event ajax form ie').split(' ')
module_files = ( "src/#{module}.js" for module in modules )
intro = "/* Zepto #{describe_version()} - #{modules.join(' ')} - zeptojs.com/license */\n"
dist = intro + cat(module_files).replace(/^\/[\/*].*$/mg, '').replace(/\n{3,}/g, "\n\n")
dist = (intro + cat(module_files).replace(/^\/[\/*].*$/mg, '')).replace(/\n{3,}/g, "\n\n")
dist.to(zepto_js)
report_size(zepto_js)

Expand Down

0 comments on commit 6ca6e27

Please sign in to comment.