- From: Thomas Hoppe <thomas.hoppe@n-fuse.de>
- Date: Wed, 29 Oct 2014 12:31:07 +0100
- To: public-rdfjs@w3.org
- Message-ID: <5450CFFB.8010307@n-fuse.de>
Hi, Github won't work at all as they do not deliver content which allows CORS (http://en.wikipedia.org/wiki/Cross-origin_resource_sharing). Even if they would, I do not consider it good practice as it is not a CDN. You have therefore two options left: 1.) You include it in your app during build time (see tools like Grunt how to generate a build of JS based apps). 2.1) You put it next to your HTML on your server and include it in the HTML file. 2.2) You include it from a CDN location like cloudflare but of course you need to check whether the lib is available which is not the case for most RDF related stuff. Greets, Thomas On 10/29/2014 12:21 PM, Sarven Capadisli wrote: > Dear Lazy RDFJSWeb, > > If you use one of the rdfjs libraries in your front-end (browser) > application, do you refer to the source or have a local copy? > > I'm inclined to point to a GitHub resource for example, if others > wouldn't mind relying on that in their applications as well i.e., to > collectively take advantage of user browser caching. Otherwise, it is > more of a bother, and a local copy instead is as reliable as it gets. > > Is there a consensus? Got thoughts? > > -Sarven > http://csarven.ca/#i >
Received on Wednesday, 29 October 2014 11:36:22 UTC