* @memberOf module:zrender/core/util * @param {Function} func * @param {*} context * @return {Function}
(func, context)
| 640 | * @return {Function} |
| 641 | */ |
| 642 | function bind(func, context) { |
| 643 | var args = nativeSlice.call(arguments, 2); |
| 644 | return function () { |
| 645 | return func.apply(context, args.concat(nativeSlice.call(arguments))); |
| 646 | }; |
| 647 | } |
| 648 | |
| 649 | /** |
| 650 | * @memberOf module:zrender/core/util |
no outgoing calls
no test coverage detected