text: var Marionette = require('backbone.marionette');
  
  var itemView = Marionette.ItemView.extend({
      template: require('../../templates/user_small.hbs'),
      initialize: function() {
          this.listenTo(this.model, 'change', this.render);
      },
      events: {
          'click': 'showDetails'
      },
  
      showDetails: function() {
          window.App.core.vent.trigger('app:log', 'Users View: showDetails hit.');
          window.App.controller.details(this.model.id);
      }
  });
  
  module.exports = CollectionView = Marionette.CollectionView.extend({
      initialize: function() {
          this.listenTo(this.collection, 'change', this.render);
      },
      itemView: itemView
  });
  