if (!this.templateDir) {
throw {
name: "ArgumentError",
- message: "No template Directory specified"
+ message: "No templateDir Directory specified"
};
}
if (this.templateDir[0] !='/') {
- this.templateDir = this.baseDir + '/' + this.template;
+ this.templateDir = this.baseDir + '/' + this.templateDir;
}