Skip to content

Transitional monkey patch to make Marionette v3 compatible with v2.

License

Notifications You must be signed in to change notification settings

wesmangum/marionette-v3-compat

 
 

Repository files navigation

marionette-v3-compat

Transitional monkey patch to make Marionette v3 compatible with v2.

Do NOT use this library in production! This library is meant as a transitional tool only. It is not guaranteed to be 100% backwards compatible and it will certainly be less performant.

Currently using v3.0.0-pre.3.

Include and execute this library directly after marionette prior to using the library.

You can turn off certain patches by passing an object setting patches to false.

// main.js
import _ from 'underscrore';
import Backbone from 'backbone';
import Marionette from 'backbone.marionette'

import Patch from 'marionette-v3-compat';

// turn off the ItemView and LayoutView patch
Patch({
  ItemView: false,
  LayoutView: false
});

Todo: List available patches.

About

Transitional monkey patch to make Marionette v3 compatible with v2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • HTML 0.2%