diff --git a/src/modal/index-nocss.js b/src/modal/index-nocss.js new file mode 100644 index 0000000000..10473fae44 --- /dev/null +++ b/src/modal/index-nocss.js @@ -0,0 +1,11 @@ +require('../position/index-nocss.js'); +require('../stackedMap'); +require('../../template/modal/backdrop.html.js'); +require('../../template/modal/window.html.js'); +require('./modal'); + +var MODULE_NAME = 'ui.bootstrap.module.modal'; + +angular.module(MODULE_NAME, ['ui.bootstrap.modal', 'uib/template/modal/backdrop.html', 'uib/template/modal/window.html']); + +module.exports = MODULE_NAME; diff --git a/src/modal/index.js b/src/modal/index.js index fd47129d70..93dbeed820 100644 --- a/src/modal/index.js +++ b/src/modal/index.js @@ -1,11 +1,2 @@ -require('../position'); -require('../stackedMap'); -require('../../template/modal/backdrop.html.js'); -require('../../template/modal/window.html.js'); -require('./modal'); - -var MODULE_NAME = 'ui.bootstrap.module.modal'; - -angular.module(MODULE_NAME, ['ui.bootstrap.modal', 'uib/template/modal/backdrop.html', 'uib/template/modal/window.html']); - -module.exports = MODULE_NAME; +require('../position/position.css'); +module.exports = require('./index-nocss.js');