icingaweb2/test/js/testlib
Jannis Moßhammer 35c43446d8 Add support for lazy module loading
When the X-Icinga-Module-Enable header is send, the
modulemanager automatically tries to load javascript files for
that module. This is realized by adding the 'registerHeaderListener'
method to the async manager, which allows to listen to specific headers
and firing callbacks if a response with the specified header is retrieved.

Also the tests have changed a bit, requireNow should be used when using
the requiremock, so a require always loads files new.

refs #4092
refs #3753
2013-06-21 15:33:06 +02:00
..
asyncmock.js Add support for lazy module loading 2013-06-21 15:33:06 +02:00
requiremock.js Add support for lazy module loading 2013-06-21 15:33:06 +02:00