【发布时间】:2014-03-11 04:11:29
【问题描述】:
扩展此链接What is the use of jQuery.noop() function?
You can use this empty function when you wish to pass
around a function that will do nothing.
This is useful for plugin authors who offer optional callbacks;
in the case that no callback is given, something like jQuery.noop could execute.
提供可选回调的插件作者是什么意思,一个例子就可以了。
【问题讨论】:
标签: javascript jquery