mootools / website

MooTools Website - move fast and break things
https://mootools.net
45 stars 31 forks source link

Restore source code use via "download/get/*.js" #205

Closed SergioCrisostomo closed 8 years ago

SergioCrisostomo commented 9 years ago

fixes #199

2 commits:

This PR restores a functionality that was available in the old website. To be able to download Core's source files via url http://mootools.net/download/get/<version>.js. This was used both by users and jsFiddle.

So basically:

SergioCrisostomo commented 8 years ago

Refactored this PR and updated the description above. Review input welcome.

arian commented 8 years ago

I'm not really sure we really miss this functionality.

SergioCrisostomo commented 8 years ago

@arian we were discussing yesterday in #irc with zalun that jsFiddle is broken in older versions because of this (http://jsfiddle.net/h424aykm/), and apparently some people like @olvlvl were using it also.

olvlvl commented 8 years ago

It's nice to have this back. Although we can use the CDN, it only serves one flavor : .min.js.

SergioCrisostomo commented 8 years ago

We talked more about this in the #IRC-dev channel and decided to not add this feature, so mootools.net will not be used as a CDN.

Google's CDN has actually different versions, just they don't point it out. (maybe we could ask them to change that).

So for example for 1.5.1 we have: