Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marionettejs/marionette.module

The (deprecated) Marionette.Module Class as a standalone library.
https://github.com/marionettejs/marionette.module

Last synced: about 2 months ago
JSON representation

The (deprecated) Marionette.Module Class as a standalone library.

Awesome Lists containing this project

README

        

# marionette.module
[![Build Status](https://travis-ci.org/marionettejs/marionette.module.svg)](https://travis-ci.org/marionettejs/marionette.module)

### This Shim is a Work in Progress ###

------------

The (deprecated) Marionette.Module Class as a standalone library.

#### Shim for Marionette.Application

In Marionette 1.x and 2.x the `Application` Class has a `module` method. To shim this behavior for v3.x

```js
require('marionette.module').shim(Marionette);
```

This will add Modules onto the application prototype.

#### Standalone Module Class

If you would like to use the standalone `Module` Class you can

```js
var Module = require('marionette.module');
```