{"size": 687, "ext": "js", "max_stars_repo_path": "data/train/js/25f99574e37559b88d59f7e927d68e3d2bd6d825manager_app.js", "max_stars_repo_name": "aliostad/deep-learning-lang-detection", "max_stars_repo_stars_event_min_datetime": "2017-10-25T15:49:21.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-28T21:25:54.000Z", "max_issues_repo_path": "data/train/js/25f99574e37559b88d59f7e927d68e3d2bd6d825manager_app.js", "max_issues_repo_name": "vassalos/deep-learning-lang-detection", "max_issues_repo_issues_event_min_datetime": "2018-03-29T11:50:46.000Z", "max_issues_repo_issues_event_max_datetime": "2021-04-26T13:33:18.000Z", "max_forks_repo_path": "data/train/js/25f99574e37559b88d59f7e927d68e3d2bd6d825manager_app.js", "max_forks_repo_name": "vassalos/deep-learning-lang-detection", "max_forks_repo_forks_event_min_datetime": "2017-11-22T08:31:00.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-27T01:22:31.000Z"}
{"max_stars_count": 84, "max_issues_count": 5, "max_forks_count": 24, "avg_line_length": 23.6896551724, "max_line_length": 72, "alphanum_fraction": 0.6317321689}
MA.module('Manager', function(Manager, MA, Backbone, Marionette, $, _) {
  this.startWithParent = false;

  var API = {
    showMovies: function() {
      var manager = new Manager.Show.Controller();
      manager.showAllMovies();
      Backbone.history.navigate("#/mymovies");
    },

    showAddMovie: function(genre) {
      var manager = new Manager.Show.Controller();
      manager.showNewMovie();
      Backbone.history.navigate("#/mymovies/new");
    },

    showEditMovie: function(genre) {
      var manager = new Manager.Show.Controller();
      manager.showEditMovie(genre);
    }

  };

  MA.commands.setHandler("manager:start", function() {
    API.showMovies();	
  })

});
