fix: typo in scope.get("liquid") error message, fixes #50

This commit is contained in:
harttle
2017-12-08 00:24:23 +08:00
parent 5196d6ad56
commit a4126e7f10
+1 -1
View File
@@ -12,7 +12,7 @@ var Scope = {
},
get: function (str) {
if (str === 'liquid') {
throw new Error('NO LONGER SUPPORTED: use scope.opts instread of scope.get("liquid")')
throw new Error('NO LONGER SUPPORTED: use scope.opts instead of scope.get("liquid")')
}
try {
return this.getPropertyByPath(this.scopes, str)