JSFiddle - React, Tailwind, and code Playground

by Derek Anderson

JavaScript

enyo.kind({
    name: 'testModel',
    attributes: {
        foo: 'baz'    
    }
});

var model = new testModel();
document.body.innerHTML = model.get('foo');