Skip to content
New issue

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

support negative list indeces #245

Merged
merged 4 commits into from
Oct 20, 2018

Commits on Oct 18, 2018

  1. support negative list indeces

    so e.g.
    
    {{ (split_me|split('-'))[-2] }}
    
    works instead of
    
    {% set parts = split_me.split('-') %}{{ parts[parts|length - 2] }}"
    David Byron committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    f9c49ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d79492 View commit details
    Browse the repository at this point in the history
  3. call super.getValue once

    David Byron committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    60e5d91 View commit details
    Browse the repository at this point in the history
  4. inline cast of base to List

    David Byron committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    6cda4ef View commit details
    Browse the repository at this point in the history