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
(from parent 1:
42bfc29
)
JSDOC/Packer.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Aug 2011 08:49:40 +0000
(16:49 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Aug 2011 08:49:40 +0000
(16:49 +0800)
JSDOC/Packer.js
patch
|
blob
|
history
diff --git
a/JSDOC/Packer.js
b/JSDOC/Packer.js
index
48df366
..
61546d4
100644
(file)
--- a/
JSDOC/Packer.js
+++ b/
JSDOC/Packer.js
@@
-280,13
+280,18
@@
Packer.prototype = {
}
var str = File.read(file);
var str = this.pack(str, file, minfile);
+
+
if (str.length) {
File.write(minfile, str);
}
- }
+ }
+
+ // if we are translating, write the translations strings at the top
+ // of the file..
if (this.translateJSON) {