Skip to content

Exposing module information (preloading status and dependencies)#31

Merged
divdavem merged 1 commit intoariatemplates:masterfrom
divdavem:exposingProperties
Apr 17, 2015
Merged

Exposing module information (preloading status and dependencies)#31
divdavem merged 1 commit intoariatemplates:masterfrom
divdavem:exposingProperties

Conversation

@divdavem
Copy link
Copy Markdown
Member

This pull request exposes the following information on each module:

  • module.noderInfo.dependencies contains the array of static dependencies of the module
  • module.noderInfo.preloading contains either a falsy value, if the module preload did not started, or a promise which indicates the state of the preloading process (either pending, resolved or rejected)

The following information is now exposed on each module:
- module.noderInfo.dependencies contains the array of static
dependencies of the module
- module.noderInfo.preloading contains either a falsy value, if the module
preload did not started or if it completed successfully, or otherwise a
promise which is either resolved when the module is fully preloaded, or
rejected if an error occurs during the preloading process
@divdavem divdavem force-pushed the exposingProperties branch from 70d8d07 to bf49cc4 Compare April 13, 2015 12:39
@divdavem divdavem merged commit bf49cc4 into ariatemplates:master Apr 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant