var coverage, coverageVar

coverage = require('coffee-coverage')

coverageVar = coverage.findIstanbulVariable()

coverage.register({
  instrumentor: 'istanbul',

  basePath: require('path').resolve(__dirname, '..'),

  exclude: ['test', 'node_modules', '.git', 'build', 'docs', 'benchmark' ],

  coverageVar: coverageVar,

  writeOnExit: coverageVar ? 'coverage/coverage-coffee.json' : null,

  initAll: true
})

var coverage, coverageVar

coverage = require('coffee-coverage')

coverageVar = coverage.findIstanbulVariable()

coverage.register({
  instrumentor: 'istanbul',

  basePath: require('path').resolve(__dirname, '..'),

  exclude: ['node_modules', '.git', 'benchmark', 'build', 'docs', 'examples', 'test' ],

  coverageVar: coverageVar,

  writeOnExit: coverageVar ? 'coverage/coverage-coffee.json' : null,

  initAll: true
})

add examples and reoorder