cirandas.net

ref: master

plugins/suppliers/public/javascripts/consumers.js


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
//= require ./lib/remove_diacritics
//
//= require ./views/consumer-page
//= require ./views/consumer-box
//= require ./views/pending-consumer-box
//= require ./views/consumer-view
//= require ./views/consumer-add
//= require ./views/pending-consumer-view

consumers = {

  t: function (key, options) {
    return I18n.t(key, $.extend(options, {scope: 'suppliers_plugin'}))
  },

}

riot.tag('raw', '', function(opts) {
  this.root.innerHTML = opts.html;
});