JSFiddle - React, Tailwind, and code Playground
by ariehg
HTML
<script src="http://github.com/arieh/FunctionStack/raw/master/Source/FunctionStack.js"></script>
<p><a href='#' id='steper'>Play</a></p>
<strong>Results</strong>
<div id='result'>1. I will change</div>
CSS
#result{font-family:"Courier New"; border:1px solid #abc; margin-top:10px;
JavaScript
var stack = new FunctionStack(
function(){$('result').set('html','2. changed')},
function(){$('result').set('html','3. changed again')},
function(){$('result').set('html','4. changed last time')}
);
$('steper').addEvent('click',function(){stack.play(1000);});