JSFiddle - React, Tailwind, and code Playground
by Meettya
HTML
<script src="http://meettya.github.com/clinch_demo/js/printer.js"></script>
<p> Test here </p>
<div class="printer_in">
<pre class="prettyprint">printer 'Mr. %s have acount #%010s with $%.2f', 'Jonh Smith' , 4477, 788.22798798</pre>
</div>
<div class="printer_result">
<pre class="prettyprint"></pre>
</div>
CoffeeScript
$ ->
{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))