(function(define) {
define(function() {
return function(methodName, args) {
return function(target) {
return target[methodName].apply(target, args);
};
};
});
})(typeof define === 'function' && define.amd ? define : function(factory) { module.exports = factory(); });