diff options
Diffstat (limited to 'kjsembed/tests/test_qdir.js')
-rw-r--r-- | kjsembed/tests/test_qdir.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kjsembed/tests/test_qdir.js b/kjsembed/tests/test_qdir.js new file mode 100644 index 00000000..c51f15e0 --- /dev/null +++ b/kjsembed/tests/test_qdir.js @@ -0,0 +1,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] ); +} |