mozilla/sweet.js — pull request #360 by natefaubion (2014-07-02 22:30:50+00:00)
Title: Magic vars for repeaters

This adds a few magic pattern vars that can only be referenced in repeaters: `$$index`, `$$index1` (plus 1), and `$$length`.