emberjs/ember.js — pull request #5481 by rwjblue (2014-08-24 21:14:54+00:00)
Title: String.prototype.indexOf returns -1 for non-matches.

Previous check would wrap everything (unless `_super` was at position `0` which is not possible).