JSFiddle - React, Tailwind, and code Playground

by Meettya

HTML

<script src="http://meettya.github.com/clinch_demo/vendor/head.load-0.99.min.js"></script>
<p> Test here </p>

<div class="printer_result">
    <pre class="prettyprint"></pre>
</div>

CoffeeScript

head.js { clinch_demo : "http://meettya.github.com/clinch_demo/js/printer.js" }

head.ready "clinch_demo", ->
  $ -> 
    {printer} = clinch_demo.main
    result = printer 'Mr. %s have acount #%010s with $%.2f', 'Jonh Smith' , 4477, 788.22798798
    $(".printer_result").children().text(JSON.stringify(result, null, 2))