malevic
Version:
Malevič.js - minimalistic reactive UI library
2 lines (1 loc) • 485 B
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Malevic={})}(this,(function(e){"use strict";e.m=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];if(t=t||{},"string"==typeof e)return{type:e,props:t,children:n};if("function"==typeof e)return{type:e,props:t,children:n};throw new Error("Unsupported spec type")}}));