开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜