<commit_before>class Georgia.Routers.EditPagePanel extends Backbone.Router
  routes:
    "": "index"

  initialize: ->
    @images = new Georgia.Collections.Images()
    @images.fetch()

  index:  ->
    @slides = new Georgia.Collections.Slides()
    new Georgia.Views.SlideshowPanel(el: '#slideshow', collection: @slides, images: @images)
    @slides.fetch({data: {page_id: $('[data-page-id]').data('page-id')}})

    @widgets = new Georgia.Collections.Widgets()
    @widgets.fetch()
    new Georgia.Views.WidgetsPanel(el: '#widgets', collection: @widgets, images: @images)<commit_msg>Fix Backbone app to use data-revision-id on edit_revision_panel<commit_after>class Georgia.Routers.EditPagePanel extends Backbone.Router
  routes:
    "": "index"

  initialize: ->
    @images = new Georgia.Collections.Images()
    @images.fetch()

  index:  ->
    @slides = new Georgia.Collections.Slides()
    new Georgia.Views.SlideshowPanel(el: '#slideshow', collection: @slides, images: @images)
    @slides.fetch({data: {page_id: $('[data-revision-id]').data('revision-id')}})

    @widgets = new Georgia.Collections.Widgets()
    @widgets.fetch()
    new Georgia.Views.WidgetsPanel(el: '#widgets', collection: @widgets, images: @images)
{'fraction_non_alphanumeric': 0.15934959349593497, 'fraction_numerical': 0.0, 'mean_word_length': 4.399122807017544, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 7, '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': '2142443', 'n_tokens_mistral': 407, 'n_tokens_neox': 391, 'n_words': 78}