microjungle JsonML to DocumentFragment

Based on https://github.com/deepsweet/microjungle

As of 2016-12-09. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greatest.deepsurf.us/scripts/25520/162315/microjungle%20JsonML%20to%20DocumentFragment.js

Author
Spooky Donkey
Version
2
Created
2016-12-08
Updated
2016-12-09
Size
1.3 KB
License
N/A

var mj = new MicrojungleJsonMLtoDocumentFragment(); var jm = [["div", {class: "fun"}, "hello"]]; mj(jm).firstElementChild.outerHTML === "

hello
";//true