JSFiddle - React, Tailwind, and code Playground

by Walter Rumsby

HTML

<script src="/modernizr/modernizr.js"></script>
<link rel="stylesheet" href="/common-6.10/assets/skins/hive/skin.css">
<script src="/yui-2.8/yuiloader/yuiloader.js"></script>
<script src="/yui-2.8/dom/dom.js"></script>
<script src="/yui-2.8/event/event.js"></script>
<script src="/common-6.10/orchestral/orchestral.js"></script>
<!DOCTYPE html>
<html>
    <head>
        <title>Button Test</title>
        <base href="http://192.168.56.1">
    </head>
    <body class="yui-skin-sam">
        <form action="http://www.meadwestvaco.com/mwv/snoop" method="GET">
            <input type="text" name="foo" value="bar">
            <span id="btn" class="yui-button">
                <span class="first-child">
                    <button type="submit">OK</button>
                </span>
            </span>
        </form>
    </body>
</html>

JavaScript

/*global ORCHESTRAL */

'use strict';

ORCHESTRAL.use('orchestral-button', function() {
    var button = new ORCHESTRAL.widget.PrimaryButton('btn');
});