var combine = require('../')

var blobs = {
  gives: {blobs: {add: true}},
  create: function () {
    return {blobs: {add: function (i) { console.log(i) }}}
  }
}

var image = {
  needs: {blobs: {add: 'first'}},
  gives: 'start',
  create: function (b) {
    return function (n) {
      api.blobs.add(n)
    }
  }
}


combine([blobs, image]).start[0]('hello')



@@ -244,17 +244,19 @@
 nction (
-b
+api
 ) %7B%0A    

correct nested example