Browse files

nextTick happens at the next tick. derp.

  • Loading branch information...
1 parent 9be0538 commit 1744a7a076d9cae766fb39aa1af3d0997ed95706 @Qard committed Feb 17, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/index.js
View
8 lib/index.js
@@ -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]
@@ -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

0 comments on commit 1744a7a

Please sign in to comment.