From: Alan Knowles Date: Mon, 28 Jun 2010 09:53:36 +0000 (+0800) Subject: JSDOC/Template.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=70700aca8c74733b10b07fb4db5b4830f0978476 JSDOC/Template.js --- diff --git a/JSDOC/Template.js b/JSDOC/Template.js index 40c44ca..f7631ba 100644 --- 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) {