src/cm/media/js/lib/yui/yui_3.10.3/build/timers/timers-min.js
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 525 89ef5ed3c48b
permissions -rw-r--r--
add link to "privacy policy" in the header test

/*
YUI 3.10.3 (build 2fb5187)
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/

YUI.add("timers",function(e,t){var n=e.config.global,r=function(e){var t;return r._asynchronizer(function(){t||e()}),{cancel:function(){t=1}}};"setImmediate"in n?(r._asynchronizer=function(e){setImmediate(e)},r._impl="setImmediate"):"process"in n&&"nextTick"in process?(r._asynchronizer=process.nextTick,r._impl="nextTick"):(r._asynchronizer=function(e){setTimeout(e,0)},r._impl="setTimeout"),e.soon=r},"3.10.3",{requires:["yui-base"]});