Support for 'each' (an early synonym for 'many') removed.

This commit is contained in:
Elf M. Sternberg 2013-06-11 09:24:41 -07:00
parent 98704f69ff
commit 63ebf50ccb
3 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,6 @@
if (err) {
return callback(err);
}
console.log(str, options);
return callback(null, render(str, options, callback));
}
if (err) {

View File

@ -812,7 +812,7 @@ module.exports = (function() {
}
var _VALID_BLOCK_TYPES = ['if', 'when', 'template', 'many', 'each', 'block'];
var _VALID_BLOCK_TYPES = ['if', 'when', 'template', 'many', 'block'];
var _VBT_LENGTH = _VALID_BLOCK_TYPES.length;
function is_valid_block_type(b) {

View File

@ -1,6 +1,6 @@
// -*- mode: javascript -*-
{
var _VALID_BLOCK_TYPES = ['if', 'when', 'template', 'many', 'each', 'block'];
var _VALID_BLOCK_TYPES = ['if', 'when', 'template', 'many', 'block'];
var _VBT_LENGTH = _VALID_BLOCK_TYPES.length;
function is_valid_block_type(b) {