"use strict";

var detective = require('detective')

module.exports = function(mod, graph) {
  if (graph.noParse(mod.id)) return

  try {
    var deps = detective(mod.source)
  } catch(e) {
    return
  }

  return graph.resolveMany(deps, mod)
    .then(function(deps) { return {deps: deps} })
}


@@ -123,16 +123,29 @@
 return%0A%0A
+  var deps;%0A%0A
   try %7B%0A
@@ -148,20 +148,16 @@
 y %7B%0A    
-var 
 deps = d

make jshint happy