Support for 'each' (an early synonym for 'many') removed.
This commit is contained in:
parent
98704f69ff
commit
63ebf50ccb
|
@ -22,7 +22,6 @@
|
||||||
if (err) {
|
if (err) {
|
||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
console.log(str, options);
|
|
||||||
return callback(null, render(str, options, callback));
|
return callback(null, render(str, options, callback));
|
||||||
}
|
}
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
|
@ -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;
|
var _VBT_LENGTH = _VALID_BLOCK_TYPES.length;
|
||||||
|
|
||||||
function is_valid_block_type(b) {
|
function is_valid_block_type(b) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- mode: javascript -*-
|
// -*- 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;
|
var _VBT_LENGTH = _VALID_BLOCK_TYPES.length;
|
||||||
|
|
||||||
function is_valid_block_type(b) {
|
function is_valid_block_type(b) {
|
||||||
|
|
Loading…
Reference in New Issue