lib/__build__/counter.js
function wrap(set) {
    return function (fn, time /* , ...args */) {
      var boundArgs = arguments.length > 2;
      var args = boundArgs ? slice.call(arguments, 2) : false;
      return set(boundArgs ? function () {
        // eslint-disable-next-line no-new-func
        (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);
      } : fn, time);
    };
  }
function wrap(set) {
    return function (fn, time /* , ...args */) {
      var boundArgs = arguments.length > 2;
      var args = boundArgs ? slice.call(arguments, 2) : false;
      return set(boundArgs ? function () {
        // eslint-disable-next-line no-new-func
        (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);
      } : fn, time);
    };
  }
function wrap ( set ) { return function ( fn , time /* , ...args */ ) { var boundArgs = arguments . length > 2 ; var args = boundArgs ? slice . call ( arguments , 2 ) : false ; return set ( boundArgs ? function ( ) { // eslint-disable-next-line no-new-func ( typeof fn == 'function' ? fn : Function ( fn ) ) . apply ( this , args ) ; } : fn , time ) ; } ; }
<- dirty ie9- check
< - dirty ie9 - check