Browse Source

Sorting images

v1.x
Tj Holowaychuk 14 years ago
parent
commit
05908850a2
  1. 2
      test/server.js

2
test/server.js

@ -11,7 +11,7 @@ var args = process.argv.slice(2)
? parseInt(args[0], 10) ? parseInt(args[0], 10)
: 3000; : 3000;
var images = fs.readdirSync(__dirname + '/images').slice(1); var images = fs.readdirSync(__dirname + '/images').slice(1).sort();
function ul(items) { function ul(items) {
var buf = '<ul>'; var buf = '<ul>';

Loading…
Cancel
Save