UNPKG

todomvc

Version:

> Helping you select an MV\* framework

11 lines (9 loc) 278 B
(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(); });