Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add support for CoffeeScript >=1.7.0 #284

Merged
merged 1 commit into from

2 participants

@nathancarter

See details in issue #283

@tebriel

Ohhhh, I see. Awesome, thank you.

@tebriel tebriel merged commit dfd6ad4 into from
@tebriel

Published as 1.13.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 1, 2014
  1. @nathancarter

    Add support for CoffeeScript >=1.7.0

    nathancarter authored
    See details in issue #283
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/jasmine-node/cli.js
View
6 lib/jasmine-node/cli.js
@@ -64,7 +64,11 @@ while(args.length) {
isVerbose = true;
break;
case '--coffee':
- require('coffee-script');
+ try {
+ require('coffee-script/register'); // support CoffeeScript >=1.7.0
+ } catch ( e ) {
+ require('coffee-script'); // support CoffeeScript <=1.6.3
+ }
extensions = "js|coffee|litcoffee";
break;
case '-m':
Something went wrong with that request. Please try again.