添加前端静态资源文件

This commit is contained in:
Dev
2026-09-22 17:47:01 +08:00
parent e05feda551
commit bb4c6ce86e
1839 changed files with 376899 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
define( [
"../core",
"../queue",
"../effects" // Delay is optional because of this dependency
], function( jQuery ) {
"use strict";
// Based off of the plugin by Clint Helfers, with permission.
jQuery.fn.delay = function( time, type ) {
time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
type = type || "fx";
return this.queue( type, function( next, hooks ) {
var timeout = window.setTimeout( next, time );
hooks.stop = function() {
window.clearTimeout( timeout );
};
} );
};
return jQuery.fn.delay;
} );