ember-addons/bootstrap-for-ember — pull request #166 by patricklx (2014-08-16 19:03:23+00:00)
Title: improve toolltip code usage with mixins

Instead of doing
```Javascript
//Create some controller in your app that references _Bootstrap.TooltipBoxController_
App.TooltipBoxController = Bootstrap.TooltipBoxController

//Application route
App.ApplicationRoute = Ember.Route.extend({
renderTemplate: function() {
// Render default outlet
this.render();
// render extra outlets
var controller = this.controllerFor('tooltip-box');
this.render("bs-tooltip-box", {
outlet: "bs-tooltip-box",
controller: controller,
into: "application" // important when using at root level
});
}
});
````

We can just do
```Javascript
var ApplicationRoute = Ember.Route.extend(Bootstrap.BsTooltipRouteMixin, {});
```
or for views
```
Ember.View.extend(Bootstrap.BsTooltipViewMixin, {
bsTooltipData: function () {
return Ember.Object.create({
item: this.get('item'),
titleBinding: 'item.attributes.description'
});
}.property(),
bsTooltipType: 'tooltip',
}
```