!function(a){
jQuery.fn[a]=function(e){
return e?this.bind("resize",(t=e,function(){
var e=this,a=arguments;
i?clearTimeout(i):n&&t.apply(e,a),i=setTimeout(function(){
n||t.apply(e,a),i=null}
,o||100)}
)):this.trigger(a);
var t,o,n,i}
}((jQuery,"smartresize"));
這段代碼是頁面配置上的第一段代碼,!function(a)我可以理解,但是jQuery.fn[a]這是什么寫法,表示什么意思?還有最后的((jQuery,"smartresize"));這一段代碼是什么寫法?
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/185223.html
標籤:JavaScript
下一篇:vue cli下載問題
