io.js revision 4cb5adeb07a02de3f919c541036641771968842d
(function() {
var M = function(Y) {
var io = function() {
};
var proto = {
initializer: function(config) {
},
request: function() {
var self = this;
this.get('method'),
this.get('src'),
{ success: function() { // TODO: move to events
},
this.get('handler'),
this.get('postData')
);
},
},
_onComplete: function() {
this.onComplete();
this.fire('complete');
},
_onSuccess: function() {
this.fire('success');
},
_onFailure: function() {
this.onFailure();
this.fire('failure');
},
toString: function() {
return 'io Plugin';
},
_request: null
};
'src': {},
'cacheRequest': {
value: true
},
'timeout': {
value: false
},
'method': {
value: 'get'
},
'postData': {}
};
};
})();