How is dependent libraries defined in metadata loaded in the runtime

87 阅读1分钟

Created by Jerry Wang, last modified on Mar 25, 2015

  • ComponentBase
  • createMetaData
  • dependency
  • dependencies
  • _loadDependencies

Metadata definition:

The library will be loaded via jQuery.each one by one:

We could find the callstack via column "Initiator":

still loaded via AJAX call:

If you are running the application in your local laptop, you could figure it out where this library file is loaded from:

要获取更多Jerry的原创文章,请关注公众号"汪子熙":