fix include scope.blocks bleeding

This commit is contained in:
harttle
2016-11-06 14:57:48 +08:00
parent c100a2e25e
commit 258f4a2073
9 changed files with 95 additions and 52 deletions
+8
View File
@@ -37,7 +37,15 @@ function isArray(value) {
return value instanceof Array;
}
function echo(prefix){
return v => {
console.log('[' + prefix + ']', v);
return v;
};
}
exports.isString = isString;
exports.isArray = isArray;
exports.forOwn = forOwn;
exports.assign = assign;
exports.echo = echo;