Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
register coffee-script at initialize for 1.7.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
gabehayes committed Feb 7, 2014
1 parent d9b155a commit 7a658f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/cucumber/cli/support_code_loader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
var SupportCodeLoader = function(supportCodeFilePaths) {
var Cucumber = require('../../cucumber');
var CoffeeScript = require('coffee-script');

var self = {
getSupportCodeLibrary: function getSupportCodeLibrary() {
Expand All @@ -13,6 +14,7 @@ var SupportCodeLoader = function(supportCodeFilePaths) {
var secondarySupportCodeInitializer = self.getSecondarySupportCodeInitializer();
var initializer = function() {
var supportCodeHelper = this;
CoffeeScript.register();
primeSupportCodeInitializer.call(supportCodeHelper);
secondarySupportCodeInitializer.call(supportCodeHelper);
};
Expand Down

0 comments on commit 7a658f5

Please sign in to comment.