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: http://www.cdnjs.com/#/search/coffee-script
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="http://cdnjs.cloudflare.com/ajax/libs/coffee-script/1.1.2/coffee-script.min.js"></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