$.fn.extend(
{
method:
function
(){
}
})
$.extend(
Jquery实现$.fn.extend和$.extend函数
原文:http://www.cnblogs.com/sjqq/p/6372895.html