This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: modify CSS loaded for modules with dependencies
- Modify loading of CSS to be purely in the index.js files for modules that depend on other modules with CSS files Closes #5698
- Loading branch information
Showing
11 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
require('../datepicker/datepicker.css'); | ||
require('../position/position.css'); | ||
require('./popup.css'); | ||
module.exports = require('./index-nocss.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
require('../position/index-nocss.js'); | ||
require('./dropdown'); | ||
|
||
var MODULE_NAME = 'ui.bootstrap.module.dropdown'; | ||
|
||
angular.module(MODULE_NAME, ['ui.bootstrap.dropdown']); | ||
|
||
module.exports = MODULE_NAME; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
require('../position'); | ||
require('./dropdown'); | ||
|
||
var MODULE_NAME = 'ui.bootstrap.module.dropdown'; | ||
|
||
angular.module(MODULE_NAME, ['ui.bootstrap.dropdown']); | ||
|
||
module.exports = MODULE_NAME; | ||
require('../position/position.css'); | ||
module.exports = require('./index-nocss.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require('../tooltip/index-nocss.js'); | ||
require('../../template/popover/popover.html.js'); | ||
require('../../template/popover/popover-html.html.js'); | ||
require('../../template/popover/popover-template.html.js'); | ||
require('./popover'); | ||
|
||
var MODULE_NAME = 'ui.bootstrap.module.popover'; | ||
|
||
angular.module(MODULE_NAME, ['ui.bootstrap.popover', 'uib/template/popover/popover.html', 'uib/template/popover/popover-html.html', 'uib/template/popover/popover-template.html']); | ||
|
||
module.exports = MODULE_NAME; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,2 @@ | ||
require('../tooltip'); | ||
require('../../template/popover/popover.html.js'); | ||
require('../../template/popover/popover-html.html.js'); | ||
require('../../template/popover/popover-template.html.js'); | ||
require('./popover'); | ||
|
||
var MODULE_NAME = 'ui.bootstrap.module.popover'; | ||
|
||
angular.module(MODULE_NAME, ['ui.bootstrap.popover', 'uib/template/popover/popover.html', 'uib/template/popover/popover-html.html', 'uib/template/popover/popover-template.html']); | ||
|
||
module.exports = MODULE_NAME; | ||
require('../tooltip/tooltip.css'); | ||
module.exports = require('./index-nocss.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
require('../position/position.css'); | ||
require('./tooltip.css'); | ||
module.exports = require('./index-nocss.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
require('../position/position.css'); | ||
require('./typeahead.css'); | ||
module.exports = require('./index-nocss.js'); |