Skip to content

Commit

Permalink
nextTick happens at the next tick. derp.
Browse files Browse the repository at this point in the history
  • Loading branch information
Qard committed Feb 18, 2012
1 parent 9be0538 commit 1744a7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/index.js
Expand Up @@ -314,6 +314,8 @@ Crsh.prototype.compile = function (cb) {
self.applyInputFilters(files, function (err, filteredFiles) {
if (err) { return cb(err) }

console.log(self.types)

// Merge all the files
var data = list.map(function (file) {
return filteredFiles[file]
Expand Down Expand Up @@ -408,10 +410,8 @@ Crsh.getFormat = Crsh.prototype.getFormat.bind(Crsh.prototype)

// For backwards compatibility,
// enable coffee and stylus by default.
process.nextTick(function () {
Crsh.addFilter('coffee', Crsh.coffee())
Crsh.addFilter('styl', Crsh.stylus())
})
Crsh.addFilter('coffee', Crsh.coffee())
Crsh.addFilter('styl', Crsh.stylus())


// Export the interface
Expand Down

0 comments on commit 1744a7a

Please sign in to comment.