Nov 27, 2011

CoffeeScript on CDN

Where is CoffeeScript's coffee-script.js available on a CDN?

Your Web pages can now load CoffeeScript from the CDNJS content delivery network (CDN). To find the latest version, visit CDNJS at this search query:

Or, if you are not a visitor from the distant future, simply copy and paste the following code snippet into your page to load CoffeeScript version 1.1.2.

<script type="text/javascript" src=""></script>

In fact, this page loads coffee-script.js from the CDN. To confirm that the CDN is successfully serving the file, simple open your browser's JavaScript console and enter CoffeeScript.VERSION. You should see "1.1.2" in the console.

No comments:

Post a Comment