Comments (4)
I'm not sure whether this presents a problem, but I'd point out that it appears there is a small difference between CDNJS's build and Google CDN's.
Looking at dojo.js.uncompressed.js
, CDNJS has defaultConfig
seeded with async:0
and does not have 'dojo-cdn'
set in hasCache
. Google CDN has async:"legacyAsync"
and 'dojo-cdn':1
in hasCache
.
Both of these are set in util/buildscripts/profiles/cdn.profile.js
which is normally used to build the CDN distribution.
I poked a few simple test cases (including one using legacy dojo.require
) and it didn't seem to stop it from working, so maybe this isn't important. Unfortunately my memory is fuzzy on what specifically the dojo-cdn
has flag was solving.
from dojo-website.
Hi @kfranqueiro, the build on CDNJS was downloaded from official website. Is there anything I need to fix?
from dojo-website.
I just poked through Dojo's release script. Builds specifically for CDNs get posted to http://archive.dojotoolkit.org/cdn/, so you probably want to host the files from the zips there instead.
Note that some old versions prior to 1.7 were packaged differently and specific to each CDN, though I'm not sure you're concerned with releases that old anyway.
from dojo-website.
@kfranqueiro I'm very sorry for my late reply, and thanks for your help, I'm wondering if there is a git repo or npm package can serve these files? CDNJS currently supports the auto-update mechanism from git repo or npm package, if we can fetch the updates from one of them, we don't need manually update dojo on CDNJS anymore, thanks.
from dojo-website.
Related Issues (15)
- API Forwarding not set up correctly
- Google changed the Merriweather font HOT 12
- "_WidgetsInTempalteMixin" misspelling HOT 2
- Missing LICENSE HOT 4
- Update roadmap
- Update community IRC
- Missing declaration tutorial
- Add npm section to downloads, update bower to include dojo/themes
- Rename Dojo 2 migration guide HOT 2
- Discourse Link HOT 1
- dojotoolkit.org is down HOT 2
- Move repository to dojo organization HOT 2
- Some tutorial demos do not work due to mixed content (Http/Https) HOT 3
- Code typo in Caching middleware example
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 dojo-website.