url for this #13

Closed
altsheets opened this Issue Aug 25, 2015 · 7 comments

Comments

Projects
None yet
3 participants
@altsheets

Would be nice if this got a URL comparable to
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js

There there's no need for me to copy the script to local.

I also tried to directly include
https://raw.githubusercontent.com/trinary/d3-transform/master/src/d3-transform.js

but that results in

Refused to execute script from 
'https://raw.githubusercontent.com/trinary/d3-transform/master/src/d3-transform.js' 
because its MIME type ('text/plain') is not executable, 
and strict MIME type checking is enabled.

Thanks!

For me, d3-transform is very useful!

@trinary

This comment has been minimized.

Show comment
Hide comment
@trinary

trinary Aug 27, 2015

Owner

Yup, Github intentionally sets response headers for raw.githubusercontent.com to discourage people from hotlinking. I'll see about a CDN host, is cdnjs still the standard?

Owner

trinary commented Aug 27, 2015

Yup, Github intentionally sets response headers for raw.githubusercontent.com to discourage people from hotlinking. I'll see about a CDN host, is cdnjs still the standard?

@altsheets

This comment has been minimized.

Show comment
Hide comment
@altsheets

altsheets Aug 27, 2015

I'll see about a host,

Nice, thanks a lot.

is cdnjs still the standard?

no idea, these are my first days with D3 ... :-) amazing ...

I'll see about a host,

Nice, thanks a lot.

is cdnjs still the standard?

no idea, these are my first days with D3 ... :-) amazing ...

@timelyportfolio

This comment has been minimized.

Show comment
Hide comment
@timelyportfolio

timelyportfolio Aug 27, 2015

As a quick and easy first step, you could try RawGit which yields the links

Also, you could easily do a gh-pages branch (see creating gh-pages) with the file. If you can start a blank gh-pages branch as in the link, I'll be happy to submit pull with the .js and your example that will then be available at http://trinary.github.io/d3-transform.

As a quick and easy first step, you could try RawGit which yields the links

Also, you could easily do a gh-pages branch (see creating gh-pages) with the file. If you can start a blank gh-pages branch as in the link, I'll be happy to submit pull with the .js and your example that will then be available at http://trinary.github.io/d3-transform.

@altsheets

This comment has been minimized.

Show comment
Hide comment
@altsheets

altsheets Aug 27, 2015

Superb. Already included that into my project:

Solved. At least short term ("The catch: this is a free service, so there are no uptime or support guarantees." )

Thanks a lot for your help. How do you like my funny d3-transform-animation ? :-)

Superb. Already included that into my project:

Solved. At least short term ("The catch: this is a free service, so there are no uptime or support guarantees." )

Thanks a lot for your help. How do you like my funny d3-transform-animation ? :-)

@trinary

This comment has been minimized.

Show comment
Hide comment
@trinary

trinary Oct 5, 2015

Owner

Huge delay on this, but I've submitted cdnjs/cdnjs#5836 for CDNJS inclusion.

Owner

trinary commented Oct 5, 2015

Huge delay on this, but I've submitted cdnjs/cdnjs#5836 for CDNJS inclusion.

@trinary

This comment has been minimized.

Show comment
Hide comment

@trinary trinary closed this Jan 27, 2016

@altsheets

This comment has been minimized.

Show comment
Hide comment

thx!

altsheets added a commit to altsheets/d3-animatelogo that referenced this issue Jan 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment