<commit_before>![Chaplin](http://s3.amazonaws.com/imgly_production/3401027/original.png)

# An Application Architecture Using Backbone.js

## Introduction

Chaplin is an architecture for JavaScript applications using the [Backbone.js](http://documentcloud.github.com/backbone/) library. The code is derived from [moviepilot.com](http://moviepilot.com/), a large single-page application.

* [Upcoming Version: Chaplin as a Library](#upcoming-version-10-chaplin-as-a-library)
* [Support and Help](#support-and-help)
* [Commercial Support and Training](#get-commercial-support-and-training)

* [Key Features](#key-features)
* [Motivation](#motivation)
* [Dependencies](#dependencies)
* [Building Chaplin](#building-chaplin)
* [Running the Tests](#running-the-tests)
* [Boilerplate and Examples](#boilerplate-and-examples)
* [The Architecture in Detail](#the-architecture-in-detail)
* [Application](#application)
* [Mediator and Publish/Subscribe](#mediator-and-publishsubscribe)
* [Router](#router)
* [Dispatcher](#dispatcher)
* [Layout](#layout)
* [Controllers](#controllers)
* [Models and Collections](#models-and-collections)
* [Views](#views)
* [Event Handling Overview](#event-handling-overview)
* [Memory Management and Object Disposal](#memory-management-and-object-disposal)
* [Handling Asynchronous Dependencies](#handling-asynchronous-dependencies)
* [The Cast](https://github.com/chaplinjs/chaplin/blob/master/AUTHORS.md#the-cast)
* [The Producers](https://github.com/chaplinjs/chaplin/blob/master/AUTHORS.md#the-producers)
<commit_msg>README code fixes<commit_after>![Chaplin](http://s3.amazonaws.com/imgly_production/3401027/original.png)

# An Application Architecture Using Backbone.js

## Introduction

Chaplin is an architecture for JavaScript applications using the [Backbone.js](http://documentcloud.github.com/backbone/) library. The code is derived from [moviepilot.com](http://moviepilot.com/), a large single-page application.

* [Upcoming Version: Chaplin as a Library](#upcoming-version-10-chaplin-as-a-library)
* [Support and Help](#support-and-help)
* [Commercial Support and Training](#commercial-support-and-training)
* [Key Features](#key-features)
* [Motivation](#motivation)
* [Dependencies](#dependencies)
* [Building Chaplin](#building-chaplin)
* [Running the Tests](#running-the-tests)
* [Boilerplate and Examples](#boilerplate-and-examples)
* [The Architecture in Detail](#the-architecture-in-detail)
* [Application](#application)
* [Mediator and Publish/Subscribe](#mediator-and-publishsubscribe)
* [Router](#router)
* [Dispatcher](#dispatcher)
* [Layout](#layout)
* [Controllers](#controllers)
* [Models and Collections](#models-and-collections)
* [Views](#views)
* [Event Handling Overview](#event-handling-overview)
* [Memory Management and Object Disposal](#memory-management-and-object-disposal)
* [Handling Asynchronous Dependencies](#handling-asynchronous-dependencies)
* [The Cast](https://github.com/chaplinjs/chaplin/blob/master/AUTHORS.md#the-cast)
* [The Producers](https://github.com/chaplinjs/chaplin/blob/master/AUTHORS.md#the-producers)

{'fraction_non_alphanumeric': 0.1564625850340136, 'fraction_numerical': 0.00647878198898607, 'mean_word_length': 7.020779220779221, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1101680', 'n_tokens_mistral': 1026, 'n_tokens_neox': 938, 'n_words': 170}