Skip to content

Commit

Permalink
Don't register coffee script handling by default. Let me add custom c…
Browse files Browse the repository at this point in the history
…offee handling function.
  • Loading branch information
jkingyens committed May 24, 2012
1 parent 08ce3fe commit 633cc82
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions index.js
@@ -1,6 +1,5 @@
var wrap = require('./lib/wrap');
var fs = require('fs');
var coffee = require('coffee-script');
var EventEmitter = require('events').EventEmitter;

var exports = module.exports = function (entryFile, opts) {
Expand Down Expand Up @@ -46,11 +45,7 @@ var exports = module.exports = function (entryFile, opts) {
}

var watches = {};
var w = wrap({ cache : opts.cache, debug : opts.debug })
.register('.coffee', function (body) {
return coffee.compile(body)
})
;
var w = wrap({ cache : opts.cache, debug : opts.debug });

if (opts.watch) {

Expand Down

0 comments on commit 633cc82

Please sign in to comment.