Comments (5)
An alternative to this would be to give a new argument to render_*
, which would make it return the path to the relevant file, rather than the whole <script>
/<link>
tag.
This would offer the same power as your proposal, but would allow Casset to minify the relevant file if the user didn't have a pre-minified copy available.
What do you think?
from fuelphp-casset.
render_*
with an extra parameter will be nice! It does the job :)
from fuelphp-casset.
Take a look at the feature/gen_tags_option branch, see if it does what you want.
from fuelphp-casset.
I had a read throught the README.
Thank you!
from fuelphp-casset.
Cool, it's been merged into develop.
from fuelphp-casset.
Related Issues (20)
- combine() does not include all group files HOT 2
- Twig extension support HOT 2
- Doesn't seem to handle CSS URLs when symlinked HOT 5
- Correct base exception
- ErrorException [ Notice ]: Uninitialized string offset: 0 HOT 3
- Make composer/packagist compatibile HOT 4
- More parameters in "files" array: relative paths & '*' for globing HOT 10
- Change cache_path to public or static accessor function? HOT 2
- Add a "cache_retrieve" path HOT 1
- Cache path is not fully configurable HOT 2
- @Import issues HOT 13
- Add compatibility for inline JS/CSS groups HOT 5
- Path of js files HOT 6
- Conditional Stylesheets HOT 3
- Remote assets beginning with // fail to load HOT 2
- Assets are rendered several times HOT 4
- Twig addon img_url
- Added functionality to remove assets programatically
- add support for head/footer locations
- Even if necessary, white spaces were deleted. HOT 2
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 fuelphp-casset.