change: remove deprecated features, coverall

This commit is contained in:
harttle
2017-12-23 21:31:55 +08:00
parent dabde0e9e4
commit 0f9adfb067
4 changed files with 21 additions and 11 deletions
-4
View File
@@ -52,10 +52,6 @@ var _engine = {
return this.getTemplate(filepath, opts.root)
.then(templates => this.render(templates, ctx, opts))
},
evalOutput: function (str, scope) {
console.warn('[liquidjs:deprecated] use .evalValue() instead of .evalOutput')
return this.evalValue(str, scope)
},
evalValue: function (str, scope) {
var tpl = this.parser.parseValue(str.trim())
return this.renderer.evalValue(tpl, scope)