mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
22 lines
396 B
JavaScript
22 lines
396 B
JavaScript
/**
|
|
* 行为类
|
|
* @return {[type]} [description]
|
|
*/
|
|
module.exports = Class(function(){
|
|
'use strict';
|
|
return {
|
|
options: {}, //行为选项
|
|
http: null,
|
|
init: function(http){
|
|
this.http = http;
|
|
for(var name in this.options){
|
|
if (C(name) !== undefined) {
|
|
this.options[name] = C(name);
|
|
}
|
|
}
|
|
},
|
|
run: function(){
|
|
|
|
}
|
|
};
|
|
}); |