public/lib/emberjs/ember.js
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);
      }
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);
      }
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 ) ; }
this is doc'ed here so it shows up in the events section of the API documentation, which is where people will likely go looking for it. 
Triggers the `LinkView`'s routing behavior. If
`eventName` is changed to a value other than `click`
the routing behavior will trigger on that custom event
instead.

@event click
 
An overridable method called when LinkView objects are instantiated.

Example:

```javascript
App.MyLinkView = Ember.LinkView.extend({
init: function() {
this._super();
Ember.Logger.log('Event is ' + this.get('eventName'));
}
});
```

NOTE: If you do override `init` for a framework class like `Ember.View` or
`Ember.ArrayController`, be sure to call `this._super()` in your
`init` declaration! If you don't, Ember may not have an opportunity to
do important setup work, and you'll see strange behavior in your
application.

@method init
this is doc ed here so it shows up in the events section of the API documentation which is where people will likely go looking for it . Triggers the LinkView s routing behavior . If eventName is changed to a value other than click the routing behavior will trigger on that custom event instead .