JSFiddle - React, Tailwind, and code Playground
Ember Debounce Example
by Alex Yu
HTML
<script src="http://cdnjs.cloudflare.com/ajax/libs/ember.js/1.3.1/ember.js"></script>
<button id="run">Run debounce</button>
<div id="console"></div>
JavaScript
$(document).ready(function(){
var ctx = { name:'debounceCtx' };
var myfunc = function(){
$('#console').append('<p>The bounce.</p>');
};
$('#run').click(function(){
Ember.run.debounce(ctx, myfunc, 5000);
});
});