开发者

jQuery: extend method - how to save/keep/do not break the initial reference?

开发者 https://www.devze.com 2023-03-15 21:14 出处:网络
Here is an example. http://jsfiddle.net/R9V4p/ Is it possible to make s.c==60 at the end and do not overlap provided values with default ones?

Here is an example.

http://jsfiddle.net/R9V4p/

Is it possible to make s.c==60 at the end and do not overlap provided values with default ones? For example i have prov开发者_Go百科ided testing function with s.clean=true instead of false.

Ofc i can write my own function for this. But maybe it would be nice to post a suggestion topic for this feature on jQuery forum, to be able to select which object to return in extend method options?

0

精彩评论

暂无评论...
验证码 换一张
取 消