emberjs/ember.js — pull request #2974 by realityendshere (2013-07-08 18:07:01+00:00)
Title: Safe return on null/undefined arguments for pushObjects (issue #2967)

Ember.MutableArray and Ember.ArrayProxy method #pushObjects should accept only
Ember.Enumerable or Array as argument. In other cases it throws an exception.

However, if the equivalent of nothing (i.e. null/undefined) is passed to #pushObjects, then no exception should be thrown and the method should return immediately.

This is a bugfix for: #2967

Pull request contains: bugfix and tests.