Sha256: 7b9a0fe4cabd408e49387393282e2e62a92062f5c82f90fb74d167526fe62754

Contents?: true

Size: 525 Bytes

Versions: 11

Compression:

Stored size: 525 Bytes

Contents

Informant.EntryIndexView = Backbone.View.extend({
  el: $('#app-front'),

  initialize: function(options) {
  },

  render: function(entries) {
    var that = this;
    that.el.empty();
    that.el.html(Informant.JST.entryIndex({entries: entries}));
    $('#aside').html(Informant.JST.entryIndexAside({entries: entries}));
    
    $('.flip-trigger').bind('click', function() {
      $('#app').toggleClass('flip');
    });
    
    $('abbr.timeago').timeago();
   
    $('#app').removeClass('flip');

    return this;
  }
});

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
c2-0.1.13 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.12 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.11 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.10 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.9 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.8 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.7 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.6 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.5 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.4 public/javascripts/c2/informant/views/entries/index.js
c2-0.1.3 public/javascripts/c2/informant/views/entries/index.js