Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Fix lexer instantiation in JavaScript
Browse files Browse the repository at this point in the history
  • Loading branch information
jbpros committed Oct 8, 2012
1 parent d2d30f7 commit 83f0fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/lib/gherkin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Creates a new Lexer for a specific language.
*/
exports.Lexer = function(lang) {
return require('./gherkin/lexer/' + lang).Lexer;
return require('./gherkin/lexer/' + lang);
};

/**
Expand All @@ -19,4 +19,4 @@ exports.connect = function(path) {
next();
}
};
};
};

0 comments on commit 83f0fa9

Please sign in to comment.