日期:2014-05-16  浏览次数:20356 次

这段代码 怎么访问到里面的函数?

$.extend({
    weibo:function(){
       // var mm = new aa(opt.type);
       $.extend(this,{
                ff:function(){
                    alert('777');      
                },
                plugin:{}
        }); /// ********
        
       /* function aa(){
            this.create = function(){
                alert('11111');
            }
        }*/
    }
});

求教一下怎么访问到ff 函数?

------解决方案--------------------

$.weibo();
//接下来ff就挂到jQuery下了已经
$.ff(); //alert("77")