<commit_before>#
# Init code that sets up our article model, pulls in each component, and
# initializes the individual Backbone views and React components that make up
# the editing UI.
#

React = require 'react'
Article = require '../../models/article.coffee'
EditLayout = require './components/layout/index.coffee'
EditHeader = require './components/header/index.coffee'
EditAdmin = require './components/admin/index.coffee'
EditThumbnail = require './components/thumbnail/index.coffee'
SectionList = require './components/section_list/index.coffee'

@init = ->
  article = new Article sd.ARTICLE
  new EditLayout el: $('#layout-content'), article: article
  new EditHeader el: $('#edit-header'), article: article
  new EditThumbnail el: $('#edit-thumbnail'), article: article
  new EditAdmin el: $('#edit-admin'), article: article
  React.render(
    SectionList(sections: article.sections)
    $('#edit-sections')[0]
  )

'This is a new line'<commit_msg>maybe the empty string was ignored<commit_after>#
# Init code that sets up our article model, pulls in each component, and
# initializes the individual Backbone views and React components that make up
# the editing UI.
#

React = require 'react'
Article = require '../../models/article.coffee'
EditLayout = require './components/layout/index.coffee'
EditHeader = require './components/header/index.coffee'
EditAdmin = require './components/admin/index.coffee'
EditThumbnail = require './components/thumbnail/index.coffee'
SectionList = require './components/section_list/index.coffee'

@init = ->
  article = new Article sd.ARTICLE
  new EditLayout el: $('#layout-content'), article: article
  new EditHeader el: $('#edit-header'), article: article
  new EditThumbnail el: $('#edit-thumbnail'), article: article
  new EditAdmin el: $('#edit-admin'), article: article
  React.render(
    SectionList(sections: article.sections)
    $('#edit-sections')[0]
  )
console.log('new asset')
{'fraction_non_alphanumeric': 0.1345360824742268, 'fraction_numerical': 0.0010309278350515464, 'mean_word_length': 4.69208211143695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '945719', 'n_tokens_mistral': 555, 'n_tokens_neox': 548, 'n_words': 175}