Skip to content

Commit

Permalink
Require.prototype.commandRegExp fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsmol committed Nov 2, 2012
1 parent 811316b commit cbd1d33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compiler/tokenizer/command_parsers/require.js
Expand Up @@ -7,7 +7,7 @@ var CommandParser = core.CommandParser;
var regExps = core.regExps;


var Require = function(ctx, commandName, commandStr) {
var Require = function (ctx, commandName, commandStr) {
CommandParser.call(this, ctx, commandName, commandStr);
};
inherits(Require, CommandParser);
Expand All @@ -21,7 +21,7 @@ Require.prototype.commandRegExp = new RegExp([
regExps.subpath,
'))?))?(\\s+(',
regExps.fullName,
')(\.\.(',
')(\\.\\.(',
regExps.subName,
'))?)?)|(',
regExps.fullName,
Expand Down

0 comments on commit cbd1d33

Please sign in to comment.