var CoffeeScript = require('coffee-script'),
    path = require('path'),
    fu = require('../fileUtil');

module.exports = {
  mode: 'scripts',
  priority: 50,
  resource: function(context, next, complete) {
    var resource = context.resource;
    if (/\.coffee$/.test(resource.src)) {
      complete(undefined, function(context, callback) {
        fu.readFile(path.join(context.fileUtil.lookupPath(), resource.src), function(err, coffeeScriptSrc) {
          if (err) {
            return callback(err);
          }
          callback(undefined, CoffeeScript.compile(coffeeScriptSrc.toString()));
        });
      });
    } else {
      next(complete);
    }
  }
};
@@ -291,134 +291,13 @@
     
-complete(undefined, function(context, callback) %7B%0A        fu.readFile(path.join(context.fileUtil.lookupPath(), resource.src), 
+next(
 func
@@ -333,18 +333,16 @@
         
-  
 if (err)
@@ -358,18 +358,16 @@
     
- 
- 
 return c
 allb
@@ -366,24 +366,22 @@
 rn c
-allback
+omplete
 (err);%0A
-  
     
@@ -398,18 +398,16 @@
     
-  callback
+complete
 (und
@@ -469,20 +469,8 @@
 ));%0A
-        %7D);%0A
     
@@ -524,6 +524,7 @@
   %7D%0A
-
 %7D;
+%0A

Use chaining for coffee-script plugin