Modernizr/Modernizr — pull request #625 by ljharb (2012-07-01 21:42:22+00:00)
Title: Replace non-standard `substr` usage with standard `slice`

Replace non-standard `substr` usage with standard `slice` See http://es5.github.com/#x15.5.4.13