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/Template.js
[gnome.introspection-doc-generator]
/
JSDOC
/
Template.js
diff --git
a/JSDOC/Template.js
b/JSDOC/Template.js
index
40c44ca
..
f7631ba
100644
(file)
--- a/
JSDOC/Template.js
+++ b/
JSDOC/Template.js
@@
-21,6
+21,12
@@
Template = XObject.define(
function(cfg) {
XObject.extend(this, cfg)
//this.templateFile = templateFile;
+ if (!this.templateFile || !this.Link) {
+ throw {
+ "No templateFile or Link sent to Template Contructor..";
+ }
+ }
+
if (templateFile) {