JSFiddle - React, Tailwind, and code Playground

by wagnermarques

HTML

<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/dojo/1.13.0/dijit/themes/claro/claro.css">
<script src="https://ajax.googleapis.com/ajax/libs/dojo/1.13.0/dojo/dojo.js"></script>
<form method="post" action="" id="myForm"
enctype="multipart/form-data">
    <fieldset>
        <legend>Form Post Test</legend>
        <input class="browseButton" name="uploadedfile" multiple="true"
            type="file" data-dojo-type="dojox/form/Uploader"
            data-dojo-props="label: 'Select Some Files'" id="uploader">
        <input type="text" name="album" value="Summer Vacation">
        <input type="text" name="year" value="2011">
        <input type="submit" label="Submit" data-dojo-type="dijit/form/Button">
    </fieldset>
</form>

JavaScript

require([
		 "dojo/dom","dojo/_base/window","dojo/dom-class" ,"dojo/dom-style","dojo/parser", "dojo/store/Memory", "dijit/registry", "dijit/layout/BorderContainer",  "dijit/layout/ContentPane", "dijit/form/Button","dojox/form/Uploader",
     // Don't call the parser until the DOM has finished loading
		"dojo/domReady!"
	], function(dom,win,domClass,domStyle,parser, Memory, registry){
  	 		domClass.add(win.body(), "claro");
				parser.parse(dom.byId('container')).then(function(){
						console.log("parse dom is done.")
				}); 
    });