fix: lenientIf not working for the umd bundle, closes #313

This commit is contained in:
harttle
2021-02-19 23:10:15 +08:00
parent 24306722ec
commit 2e66e8b02e
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export class RenderError extends LiquidError {
super.update()
}
public static is (obj: any): obj is RenderError {
return obj instanceof RenderError
return obj.name === 'RenderError'
}
}