docs: function once(fun) {
      var emitted = false, result;
      return function () {
          if (emitted)
              return result;
          emitted = true;
          return result = fun.apply(null, arguments);
      };
  }