HomePhabricator

resourceloader: Document internal mw.loader#jobs property

Authored by Krinkle.

Description

resourceloader: Document internal mw.loader#jobs property

Also use push() instead of old-fashioned micro-optimising .length
assignment. This is inconsistent with the rest of the code and in
modern browsers push is as fast (or faster; < 0.1% difference).

Change-Id: Iaad007cb7a5f2afcab3f0859d2525d49e86775c0
(cherry picked from commit d5a7559f9928c2048a0917ee0add5a817a98da60)