<commit_before>@VideoTracker.module "MoviesApp.List", (List, App, Backbone, Marionette, $, _) ->

  class List.Movie extends Backbone.Model

  class List.Movies extends Backbone.Collection
    model: List.Movie
    url: Routes.movies_path()


  API = 
    getMovieCollection: (cb) ->
      movies = new List.Movies
      movies.fetch
        success: -> 
          cb movies

  App.reqres.setHandler "movie:model", (cb) ->
    API.getMovieCollection cb<commit_msg>Adds on fetch success cb<commit_after>@VideoTracker.module "MoviesApp.List", (List, App, Backbone, Marionette, $, _) ->

  class List.Movie extends Backbone.Model

  class List.Movies extends Backbone.Collection
    model: List.Movie
    url: Routes.movies_path()


  API = 
    getMovieCollection: (cb) ->
      movies = new List.Movies
      movies.fetch
        success: ->
          cb movies

  App.reqres.setHandler "movie:model", (cb) ->
    API.getMovieCollection cb
{'fraction_non_alphanumeric': 0.11087420042643924, 'fraction_numerical': 0.0, 'mean_word_length': 2.9125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '4824657', 'n_tokens_mistral': 315, 'n_tokens_neox': 289, 'n_words': 69}