Skip to content

Commit

Permalink
substring
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 16, 2010
1 parent c24e369 commit 8e5b763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ejs/index.js
Expand Up @@ -82,7 +82,7 @@ var parse = exports.parse = function(str, options){
if (prefix) {
var start = i;
var end = str.indexOf(close, i);
buf.push(prefix, str.slice(i, end), postfix);
buf.push(prefix, str.substring(i, end), postfix);
i += end - start + close.length - 1;
}

Expand Down

0 comments on commit 8e5b763

Please sign in to comment.