<commit_before>Backbone = require 'backbone'
Q = require 'bluebird-q'
template = -> require('./index.jade') arguments...

module.exports = class PartnerCell extends Backbone.View

  init: ({@following}) ->

  render: ->
    @$el.html template profile: @model, partner:@partner
    this

  fetch: ->
    @model.fetch().then =>
      image = @model.coverImage()
      hasImage = image.isWithImages()
      imageUrl = image.cropUrlFor({width:400, height:300})
      if hasImage && !image.sourceUrl()
        debugger
      @partner = @model.related().owner
      @partner.related().locations.fetch()<commit_msg>Remove debugging stuff<commit_after>Backbone = require 'backbone'
Q = require 'bluebird-q'
template = -> require('./index.jade') arguments...

module.exports = class PartnerCell extends Backbone.View

  init: ({@following}) ->

  render: ->
    @$el.html template profile: @model, partner:@partner
    this

  fetch: ->
    @model.fetch().then =>
      @partner = @model.related().owner
      @partner.related().locations.fetch()
{'fraction_non_alphanumeric': 0.15814850530376084, 'fraction_numerical': 0.0057859209257473485, 'mean_word_length': 3.361344537815126, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3834361', 'n_tokens_mistral': 327, 'n_tokens_neox': 311, 'n_words': 68}