code: function isPriorityDone() {
              var priorityDone = true,
                  priorityWait = config.priorityWait,
                  priorityName, i;
              if (priorityWait) {
                  for (i = 0; (priorityName = priorityWait[i]); i++) {
                      if (!loaded[priorityName]) {
                          priorityDone = false;
                          break;
                      }
                  }
                  if (priorityDone) {
                      delete config.priorityWait;
                  }
              }
              return priorityDone;
          }
docs: Determine if priority loading is done. If so clear the priorityWait