/**
* @author [xiaoyi]
* @date [2018-10-23 15:21:21]
* @deprecated 样例
* @use $.***
*/
;(function( $ ){
function xiaoyi(option){
this.option = option ||""
this.name = "";
}
xiaoyi.prototype.setName = function(first_argument) {
this.name = first_argument;
};
xiaoyi.prototype.getName = function(first_argument) {
return this.name;
};
xiaoyi.prototype.alert = function(first_argument) {
alert(this.name);
};
$.extend({'xiaoyi':new xiaoyi()})
})(jQuery);
;(function( $ ){
var xiaoyi1 = {
name:''
,setName:function(name){
this.name = name;
}
,getName:function(){
return this.name ;
}
,alert :function(){
alert(this.name);
}
}
$.extend({'xiaoyi1':xiaoyi1})
})(jQuery);