projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
008b8d4
)
Use walkdir instead of findit, which supports Windows.
author
Cheng Zhao
<zcbenz@gmail.com>
Mon, 22 Jul 2013 08:41:52 +0000
(16:41 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Mon, 22 Jul 2013 08:41:52 +0000
(16:41 +0800)
package.json
patch
|
blob
|
history
spec/index.html
patch
|
blob
|
history
diff --git
a/package.json
b/package.json
index
9538a70
..
097ee5c
100644
(file)
--- a/
package.json
+++ b/
package.json
@@
-6,7
+6,7
@@
"coffee-script": "1.6.2",
"mocha": "*",
- "
findit
": "*",
+ "
walkdir
": "*",
"unzip": "*"
},
diff --git
a/spec/index.html
b/spec/index.html
index
179226a
..
c80c209
100644
(file)
--- a/
spec/index.html
+++ b/
spec/index.html
@@
-20,14
+20,14
@@
if (query.invert) mocha.invert();
// Read all test files.
- var
finder = require('findit').find
(__dirname);
+ var
walker = require('walkdir').walk
(__dirname);
-
find
er.on('file', function(file) {
+
walk
er.on('file', function(file) {
if (/.coffee$/.test(file))
mocha.addFile(file);
});
-
find
er.on('end', function() {
+
walk
er.on('end', function() {
mocha.run(function() {
Mocha.utils.highlightTags('code');
});