done-mutation

Encodes MutationRecords so they can be patched on other documents


Keywords
donejs, donejs-plugin, mutationobserver
License
MIT
Install
npm install done-mutation@3.1.0

Documentation

done-mutation

License: MIT npm version Build Status

Utilties for encoding, decoding, and patching MutationRecords.

Usage

ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

import plugin from 'done-mutation';

CommonJS use

Use require to load done-mutation and everything else needed to create a template that uses done-mutation:

var plugin = require("done-mutation");

Standalone use

Load the global version of the plugin:

<script src='./node_modules/done-mutation/dist/global/done-mutation.js'></script>