Skip to content

Commit

Permalink
remove consecutive newlines in zepto.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Mar 3, 2013
1 parent 9b77aca commit a3cab6c
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'] || 'polyfill zepto detect event ajax form fx').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{2,}/, "\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 a3cab6c

Please sign in to comment.