icingaweb2/test/js
Jannis Moßhammer e9ade7a339 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-26 16:37:12 +02:00
..
regression Integrate regression tests 2013-06-04 17:20:18 +02:00
test/icinga Add support for lazy module loading 2013-06-26 16:37:12 +02:00
testlib Add support for lazy module loading 2013-06-26 16:37:12 +02:00
.jshintignore Add support for jshint reports. 2013-05-31 13:52:12 +02:00
.jshintrc Add support for jshint reports. 2013-05-31 13:52:12 +02:00
checkswag Add include and exclude handling to the js style-checker. 2013-06-11 18:25:21 +02:00
runtests Add mockup for requirejs 2013-06-13 17:29:38 +02:00