Comments (2)
The local config
object that is being populated in the if...else
statement is being used in the first loadFiles()
call. Then after those files are loaded, the common CSS file that should be part of your application get's loaded using another loadFiles()
call. The reasoning behind this is that It is often helpful to load application specific CSS files after library CSS files, because of CSS specificity (the latter CSS loaded selectors take precedence if they are an exact match).
from backbone-require-boilerplate.
Keep in mind that the latest release uses the @import
tag to organize CSS files into one file. This was used so that the Require.js optimizer could be used to optimize the production CSS file as well.
from backbone-require-boilerplate.
Related Issues (20)
- Optimize CSS HOT 2
- Track r.js dependency in package.json HOT 1
- Package manager HOT 3
- Continuous Integration guide HOT 3
- JQuery Mobile code not rendering correctly from template? HOT 4
- Lite version HOT 35
- Cant use Almond HOT 4
- Add remove logging to grunt HOT 3
- Router does not seem to work HOT 8
- 404 on ajax-loader gif HOT 1
- // Don't use almond if your project needs to load modules dynamically HOT 1
- no reports found? HOT 2
- v2.0.0 RoadMap
- getting issue while installing HOT 5
- Add "provides" to fulfill backbone dependencies for bower package manager HOT 2
- How to generate source map HOT 8
- Will this boilerplate works with PHP?
- Error while packaging (define("desktop", function(){}); }()); has no method 'substring'] })
- please add r.js optimisation to README/app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backbone-require-boilerplate.