INNER CODE UNIT · JavaScript

lastReqId

carvel-dev/ytt · pkg/website/js/app.js:281

  var lastReqId = -1;

  function on(reqId) {
    if (lastReqId < reqId) {
      lastReqId = reqId;
      loading.text(opts.on);
    }
  }

  function off(reqId) {
    if (lastReqId <= reqId) {
      lastReqId = reqId;
      loading.text(opts.off);
    }
  }

  return {
    on: on,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…