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:
8f0bbe2
)
JSDOC/Template.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 09:53:36 +0000
(17:53 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Jun 2010 09:53:36 +0000
(17:53 +0800)
JSDOC/Template.js
patch
|
blob
|
history
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) {