PageSourceSearch

https://pourri.com/cdn/shop/t/1099/assets/jquery.pause.js?v=158449300133529150461790876179

js pourri.com collected 2026-10-03 21:37:25 UTC 1,977 bytes, 22 lines download raw bytes

1/*!
2 * Pause jQuery plugin v0.1
3 *
4 * Copyright 2010 by Tobia Conforto <[email protected]>
5 *
6 * Based on Pause-resume-animation jQuery plugin by Joe Weitzel
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the Free
10 * Software Foundation; either version 2 of the License, or(at your option)
11 * any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * more details.
17 *
18 * You should have received a copy of the GNU General Public License along with
19 * this program; if not, write to the Free Software Foundation, Inc., 51
20 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 */(function(){var $=jQuery,pauseId="jQuery.pause",uuid=1,oldAnimate=$.fn.animate,anims={};function now(){return new Date().getTime()}$.fn.animate=function(prop,speed,easing,callback){var optall=$.speed(speed,easing,callback);return optall.complete=optall.old,this.each(function(){this[pauseId]||(this[pauseId]=uuid++);var opt=$.extend({},optall);oldAnimate.apply($(this),[prop,$.extend({},opt)]),anims[this[pauseId]]={run:!0,prop:prop,opt:opt,start:now(),done:0}})},$.fn.pause=function(){return this.each(function(){this[pauseId]||(this[pauseId]=uuid++);var data=anims[this[pauseId]];data&&data.run&&(data.done+=now()-data.start,data.done>data.opt.duration?delete anims[this[pauseId]]:($(this).stop(),data.run=!1))})},$.fn.resume=function(){return this.each(function(){this[pauseId]||(this[pauseId]=uuid++);var data=anims[this[pauseId]];data&&!data.run&&(data.opt.duration-=data.done,data.done=0,data.run=!0,data.start=now(),oldAnimate.apply($(this),[data.prop,$.extend({},data.opt)]))})}})();
22//# sourceMappingURL=/cdn/shop/t/1099/assets/jquery.pause.js.map?v=158449300133529150461790876179

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.