日期:2014-05-17 浏览次数:20583 次
(function() {
var ajaxbox = (function() {
var ajaxbox = function() {
return ajaxbox.init();
};
ajaxbox.init = ajaxbox.prototype = {
init: function() {
return this;
}
};
this.type="属性";// 像这样来设置属性 但是却没用 问题在这里
// 如果我想在这个函数内部 设置属性和方法应该怎么写
});
window.ajaxbox = window.$$ = ajaxbox();
})();