Permalink
Browse files

Remove commented code

  • Loading branch information...
1 parent d1f5316 commit 4848550e35a88f0c57f0c17443ac349c0f52d8f1 @jbpros jbpros committed May 25, 2012
Showing with 0 additions and 17 deletions.
  1. +0 −17 lib/cucumber/support_code/step_definition.js
@@ -1,23 +1,6 @@
var StepDefinition = function(pattern, code) {
var Cucumber = require('../../cucumber');
- // var constructor = function() {
- // // Converts a string to a proper regular expression
- // var parseRegexpString = function( regexpString ) {
-
- // // Replace the $VARIABLES with the correct regex.
- // regexpString = regexpString.replace(/\$[a-zA-Z0-9]+/g, '([^"]*)');
- // return new RegExp( regexpString );
- // }
-
- // if( typeof(regexp)=='string' ) {
- // // regexp is a string, convert it to a regexp.
- // regexp = parseRegexpString(regexp);
- // }
- // }
-
- // constructor();
-
var self = {
getPatternRegexp: function getPatternRegexp() {
var regexp;

0 comments on commit 4848550

Please sign in to comment.