mbostock/d3 — pull request #1965 by jasondavies (2014-08-06 16:58:11+00:00)
Title: Replace substring with slice.

Slice is shorter and more intuitive: negative arguments are treated as
being relative to the end of the string, similar to arrays.

The only place it made sense to keep substring was in
d3_locale_numberFormat, where the first argument can be negative but
substring automatically treats this as zero.

*Saves a whopping 148 bytes!*