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:
e112fef
)
JSDOC/Packer.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Aug 2011 08:46:58 +0000
(16:46 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Aug 2011 08:46:58 +0000
(16:46 +0800)
JSDOC/Packer.js
patch
|
blob
|
history
diff --git
a/JSDOC/Packer.js
b/JSDOC/Packer.js
index
45ec11f
..
5442d84
100644
(file)
--- a/
JSDOC/Packer.js
+++ b/
JSDOC/Packer.js
@@
-28,6
+28,7
@@
var x = new Packer({
files : [ "/location/of/file1.js", "/location/of/file2.js", ... ],
target : "/tmp/output.js",
debugTarget : "/tmp/output.debug.js", // merged file without compression.
files : [ "/location/of/file1.js", "/location/of/file2.js", ... ],
target : "/tmp/output.js",
debugTarget : "/tmp/output.debug.js", // merged file without compression.
+ debugTranslateTarget : "/tmp/output.translate.js"
translateJSON: "/tmp/translate.json",
translateJSON: "/tmp/translate.json",
@@
-233,6
+234,8
@@
Packer.prototype = {
continue;
}
continue;
}
+ // debug Target
+
if (this.debugTarget) {
File.append(this.debugTarget, File.read(file));
}
if (this.debugTarget) {
File.append(this.debugTarget, File.read(file));
}
@@
-254,16
+257,7
@@
Packer.prototype = {
print("compare : " + mt + "=>" + ot);
if (mt >= ot) {
continue;
print("compare : " + mt + "=>" + ot);
if (mt >= ot) {
continue;
- /*
- // then the min'files time is > than original..
- var str = File.read(minfile);
- print("using MIN FILE "+ minfile);
- if (str.length) {
- File.append(outpath, str + "\n");
- }
- continue;
- */
}
}
}
}