import Backbone from 'backbone' Backbone.$ = window.$ import outdent from 'outdent' const Metacode = Backbone.Model.extend({ initialize: function () { var image = new Image() image.crossOrigin = 'Anonymous' image.src = this.get('icon') this.set('image', image) }, prepareLiForFilter: function () { return outdent`
  • ${this.get('name')}

    ${this.get('name').toLowerCase()}

  • ` } }) export default Metacode