summaryrefslogtreecommitdiffstats
path: root/kjsembed/tests/test_qdir.js
blob: c51f15e0003d605a45dc2e951e00927d6434abe8 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env kjscmd

var dir = new QDir(); // CWD
println( dir.path() );

var files = dir.entryList( '*.js' );
for ( i in files ) {
   println( files[i] );
}