projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JSDOC/Packer.js
[gnome.introspection-doc-generator]
/
JSDOC
/
Packer.js
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) {