We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Same as size there are other pseudo properties strings should evaluate. And length is one that LiquidJs supports but is not valid.
size
length
Here is from the shopify's site:
The text was updated successfully, but these errors were encountered:
Interestingly, using Shopify/Liquid directly instead of via a Shopify store, we get the following:
require 'liquid' source = <<~LIQUID {% assign b = "one" %} size: {{ b.size }} length: {{ b.length }} first: {{ b.first }} last: {{ b.last }} LIQUID template = Liquid::Template.parse(source) puts template.render
output
size: 3 length: first: last:
Sorry, something went wrong.
Thank you two for the investigation. I think we can support this feature in liquidjs, people can’t blame us for not returning nil right?
No branches or pull requests
Same as
size
there are other pseudo properties strings should evaluate.And
length
is one that LiquidJs supports but is not valid.Here is from the shopify's site:
The text was updated successfully, but these errors were encountered: