Comments (10)
The main file for Handlebars is not handlebars.min.js. It loads this one http://cdn.jsdelivr.net/handlebarsjs/1.3.0/handlebars.runtime.min.js
Based on the structure I would guess this decision was made because handlebars.runtime.min.js
is the only file present in all previous versions.
To compile it in a group you could do the following:
http://cdn.jsdelivr.net/g/[email protected](handlebars.min.js)
from api.
That works perfectly! Thank you.
Not sure if that's something that can be documented somewhere, but it definitely threw me.
from api.
I am glad it works now. Not sure how to document it, will see if anyone else struggles with it :)
Let me know if you need anything else.
from api.
Just a thought, but on the record for a given library ...
... it might be cool to add a line that says "Adding this to a compiled group will call: {{ main file }}."
That would be useful information for any library, really. And also draw more attention to the grouped requests, which are awesome.
from api.
You are right, I should write somewhere what is the mainfile of each project.
from api.
I added it to the homepage http://www.jsdelivr.com/
Unfortunately I suck as a designer :(
from api.
It gets the job done, though! Thanks for doing that :)
from api.
Unfortunately I suck as a designer :(
I like the smaller font idea
from api.
@tomByrer Haha thanks
from api.
For future reference, mainfile=handlebars.runtime.min.js
is for when the templates are pre-compiled, so that version is the "optimal browser-only" version.
from api.
Related Issues (20)
- Version sorting HOT 10
- API returns no versions (urgent) HOT 5
- Move the API away from AppFog HOT 8
- Am I right to assume that I cannot get data for multiple librarys with one api call? HOT 4
- Searching by URL HOT 1
- jQuery failed to update latest beta1 HOT 2
- File paths HOT 14
- Incorrect author format for some CDNJS projects HOT 3
- pagination need? HOT 3
- The result order is not right HOT 3
- Default filename for specified version HOT 8
- API is not detecting new projects HOT 2
- Specify Content Security Policy? HOT 1
- API future HOT 3
- Add SRI to API HOT 1
- Add a download/hit count to the API HOT 7
- API endpoint down? HOT 2
- "bootstrap" alias is gone in v1 HOT 7
- Remove X-Requested-With
- Make sure logentries is utilized 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 api.