Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 676 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 676 Bytes

marionette.module

Build Status

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

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

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