You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: crates/swc_ecma_minifier/tests/benches-full/jquery.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -3125,9 +3125,9 @@
3125
3125
for(!function(props,specialEasing){
3126
3126
varindex,name,easing,value,hooks;
3127
3127
// camelCase, specialEasing and expand cssHook pass
3128
-
for(indexinprops)if(easing=specialEasing[name=camelCase(index)],Array.isArray(value=props[index])&&(easing=value[1],value=props[index]=value[0]),index!==name&&(props[name]=value,deleteprops[index]),(hooks=jQuery.cssHooks[name])&&("expand"inhooks))// Not quite $.extend, this won't overwrite existing keys.
3128
+
for(indexinprops)if(easing=specialEasing[name=camelCase(index)],Array.isArray(value=props[index])&&(easing=value[1],value=props[index]=value[0]),index!==name&&(props[name]=value,deleteprops[index]),(hooks=jQuery.cssHooks[name])&&"expand"inhooks)// Not quite $.extend, this won't overwrite existing keys.
3129
3129
// Reusing 'index' because we have the correct "name"
returnjQuery.map(props,createTween,animation),isFunction(animation.opts.start)&&animation.opts.start.call(elem,animation),// Attach callbacks from options
Copy file name to clipboardexpand all lines: crates/swc_ecma_minifier/tests/projects/output/jquery-1.9.1.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -3855,9 +3855,9 @@
3855
3855
for(function(props,specialEasing){
3856
3856
varvalue,name1,index,easing,hooks;
3857
3857
// camelCase, specialEasing and expand cssHook pass
3858
-
for(indexinprops)if(easing=specialEasing[name1=jQuery.camelCase(index)],value=props[index],jQuery.isArray(value)&&(easing=value[1],value=props[index]=value[0]),index!==name1&&(props[name1]=value,deleteprops[index]),(hooks=jQuery.cssHooks[name1])&&("expand"inhooks))// not quite $.extend, this wont overwrite keys already present.
3858
+
for(indexinprops)if(easing=specialEasing[name1=jQuery.camelCase(index)],value=props[index],jQuery.isArray(value)&&(easing=value[1],value=props[index]=value[0]),index!==name1&&(props[name1]=value,deleteprops[index]),(hooks=jQuery.cssHooks[name1])&&"expand"inhooks)// not quite $.extend, this wont overwrite keys already present.
3859
3859
// also - reusing 'index' from above because we have the correct "name"
0 commit comments