Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
<script type="text/javascript"> | |
(function () { | |
"use strict"; | |
// once cached, the css file is stored on the client forever unless | |
// the URL below is changed. Any change will invalidate the cache | |
var css_href = './index_files/web-fonts.css'; | |
// a simple event handler wrapper | |
function on(el, ev, callback) { | |
if (el.addEventListener) { | |
el.addEventListener(ev, callback, false); |
var fs = require('fs'); | |
fs.readdir( process.argv[2], function (err, files) { | |
if (!err) | |
console.log(files); | |
else | |
throw err; | |
}); | |
console.log("Fired callback."); |