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:
70700ac
)
JSDOC/Template.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 09:53:48 +0000
(17:53 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 09:53:48 +0000
(17:53 +0800)
JSDOC/Template.js
patch
|
blob
|
history
diff --git
a/JSDOC/Template.js
b/JSDOC/Template.js
index
f7631ba
..
f394b08
100644
(file)
--- a/
JSDOC/Template.js
+++ b/
JSDOC/Template.js
@@
-24,17
+24,11
@@
Template = XObject.define(
if (!this.templateFile || !this.Link) {
throw {
"No templateFile or Link sent to Template Contructor..";
if (!this.templateFile || !this.Link) {
throw {
"No templateFile or Link sent to Template Contructor..";
- }
- }
-
-
- if (templateFile) {
-
- this.template = Gio.simple_read(templateFile);
-
+ }
}
}
- this.Link = this.Link || imports.TemplateLink.Link; ///????
+
+ this.template = Gio.simple_read(templateFile);
this.templateName = GLib.path_get_basename(templateFile);
this.code = "";
this.parse();
this.templateName = GLib.path_get_basename(templateFile);
this.code = "";
this.parse();