cb after with ZEN style.

fs = require('fs')

fs.open 'tmptst4', 'a', '0600', someCallBack

someCallBack = (err, fd) =>
  console.log "asd"
  console.log fd
  console.log "fgh"

Posted on 2012-05-31 22:03 with coffeescript in 0.016 sec.