Permalink
Browse files

removed async dependency

  • Loading branch information...
neocotic committed Mar 27, 2013
1 parent fb1439c commit 673b58a84f95fd6d45c927bac5b44aeec776f805
Showing with 14 additions and 21 deletions.
  1. +10 −13 docco.js
  2. +4 −7 docco.litcoffee
  3. +0 −1 package.json
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -84,12 +84,10 @@ out in an HTML template.
callback or= (error) -> throw error if error
complete = ->
- async.parallel [
- (done) -> fs.copy config.css, config.output, done
- , (done) ->
- if fs.existsSync config.public then fs.copy config.public, config.output, done
- else done()
- ], callback
+ fs.copy config.css, config.output, (error) ->
+ return callback error if error
+ if fs.existsSync config.public then fs.copy config.public, config.output, callback
+ else callback()
files = config.sources.slice()
@@ -228,7 +226,6 @@ Require our external dependencies.
_ = require 'underscore'
fs = require 'fs-extra'
path = require 'path'
- async = require 'async'
marked = require 'marked'
commander = require 'commander'
{highlight} = require 'highlight.js'
View
@@ -12,7 +12,6 @@
"node": ">=0.2.0"
},
"dependencies": {
- "async": ">= 0.2.6",
"commander": ">= 0.5.2",
"marked": ">= 0.2.7",
"fs-extra": ">= 0.6.0",

0 comments on commit 673b58a

Please sign in to comment.