Permalink
Browse files

remove consecutive newlines in zepto.js

  • Loading branch information...
mislav committed Mar 3, 2013
1 parent 9b77aca commit a3cab6c8c8ab001dc3662a1fbf6dc40b0468f01f
Showing with 1 addition and 1 deletion.
  1. +1 −1 make
View
2 make
@@ -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)

0 comments on commit a3cab6c

Please sign in to comment.