Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Make coffeescript register itself if it has a register function. #297

Merged
merged 1 commit into from

6 participants

@snoble

Fixes issue #296.

@snoble

I wish I could add a test for this. But it's not clear how in this case.

@mikekunze

This works. My tests are now running again. Thx

@domenic

+1

@darinc

+1

@samjoch

+1 please

@indexzero indexzero merged commit a9a02d0 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  bin/vows
View
1  bin/vows
@@ -16,6 +16,7 @@ var fileExt, specFileExt;
try {
var coffee = require('coffee-script');
+ if(coffee.register) coffee.register();
fileExt = /\.(js|coffee)$/;
specFileExt = /[.(-|_)]((t|T)est|(s|S)pec)\.(js|coffee)$/;
} catch (_) {
Something went wrong with that request. Please try again.