You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/lib/dojo/throttle.js

8 lines
387 B
JavaScript

/*
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
define("dojo/throttle",[],function(){return function(cb,_1){var _2=true;return function(){if(!_2){return;}_2=false;cb.apply(this,arguments);setTimeout(function(){_2=true;},_1);};};});