Sha256: 4b5576550e11d78d36d3907a55b095d25e06c58398136467332450909a92793f

Contents?: true

Size: 341 Bytes

Versions: 6

Compression:

Stored size: 341 Bytes

Contents

var Informant = {
  init: function() {
    Informant.loadTemplates();
    Informant.App = new Informant.AppController();
    Backbone.history.start();
  },
  JST: {},
  loadTemplates: function() {
    $('[type="text/js-template"]').each(function() {
      Informant.JST[$(this).data('template')] = _.template($(this).html());
    });
  }
};

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
c2-0.1.13 public/javascripts/c2/informant/application.js
c2-0.1.12 public/javascripts/c2/informant/application.js
c2-0.1.11 public/javascripts/c2/informant/application.js
c2-0.1.10 public/javascripts/c2/informant/application.js
c2-0.1.9 public/javascripts/c2/informant/application.js
c2-0.1.8 public/javascripts/c2/informant/application.js