docs: function() {
          this._super.apply(this, arguments);
  
          Ember.deprecate('Using currentWhen with {{link-to}} is deprecated in favor of `current-when`.', !this.currentWhen);
  
          // Map desired event name to invoke function
          var eventName = get(this, 'eventName');
          this.on(eventName, this, this._invoke);
        }