microjungle JsonML to DocumentFragment

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

2016-12-09 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

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/162318/microjungle%20JsonML%20to%20DocumentFragment.js

लेखक
Spooky Donkey
आवृत्ती
2
बनवली
2016-12-08
अपडेट केली
2016-12-09
आकार
1.3 KB
License
नाही

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