projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c290c09
)
JSDOC/BuildDocs.js
author
Alan Knowles
<alan@akkbhome.com>
Tue, 20 Jul 2010 23:09:25 +0000
(07:09 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Tue, 20 Jul 2010 23:09:25 +0000
(07:09 +0800)
JSDOC/BuildDocs.js
patch
|
blob
|
history
diff --git
a/JSDOC/BuildDocs.js
b/JSDOC/BuildDocs.js
index
36a66cb
..
3e914d0
100644
(file)
--- a/
JSDOC/BuildDocs.js
+++ b/
JSDOC/BuildDocs.js
@@
-122,14
+122,14
@@
BuildDocs = {
if (cacheFile && File.exists(cacheFile)) {
// check filetime?
if (cacheFile && File.exists(cacheFile)) {
// check filetime?
- var c_mt = File.
getTimes
(cacheFile);
- var o_mt = File.
getTimes
(srcFile);
+ var c_mt = File.
mtime
(cacheFile);
+ var o_mt = File.
mtime
(srcFile);
//println(c_mt.toSource());
// println(o_mt.toSource());
// this check does not appear to work according to the doc's - need to check it out.
//println(c_mt.toSource());
// println(o_mt.toSource());
// this check does not appear to work according to the doc's - need to check it out.
- if (c_mt
[0] > o_mt[0]
) { // cached time > original time!
+ if (c_mt
> o_mt
) { // cached time > original time!
// use the cached mtimes..
var syms = JSON.parse(File.read(cacheFile));
// use the cached mtimes..
var syms = JSON.parse(File.read(cacheFile));