emberjs/ember.js — pull request #3505 by kingpin2k (2013-10-01 02:41:51+00:00)
Title: Unnecessary check in replace logic

pointless check in if statement, we've already ascertained that either there is no object, or that the length is 0, three lines above.