emberjs/ember.js — pull request #9519 by christophercurrie (2014-11-08 05:18:40+00:00)
Title: Use bind instead of apply in logger

This small change makes a difference to users of Chrome (and possibly other Webkit users). Under the old code, the "line number" for log messages reported in Chrome's console was always the line from this file, invoking `method.apply`. After this change, the line number matches the file and line where `Ember.Logger.method` was actually called, speeding diagnoses.

Tests all pass after this change.