JSFiddle - React, Tailwind, and code Playground

by Chase Wilson

JavaScript

var OCPModuleInterface = new Interface({
    namespace: String,
    theother: Function
});

var OCPModule = new Type('OCPModule', function (params){
    params.Interface = OCPModuleInterface;
    return new Class(params);
});

var Mod = new OCPModule({
    theother: "something",
    namespace: {},
    more: "some",
    initialize: function(){
    }
});
var theMod = new Mod();