koajs / koa-hbs

Handlebars templates for Koa.js
MIT License
159 stars 43 forks source link

Mising '.' in index.js, line 344 #53

Closed develmts closed 7 years ago

develmts commented 7 years ago

It makes unable to render templates on some circumstances As far as i can see this: var tplPath = path.join(viewPath, tpl + this.extname); should be changed to this var tplPath = path.join(viewPath, tpl + '.' +this.extname);

No idea of colateral implications, but it's disallowing me to use koa-hbs

shellscape commented 7 years ago

under what circumstances are you unable to render? please provide some code examples. koa-hbs has been around a while, and this is the first instance of the issue I've seen.

develmts commented 7 years ago

Sorry. Misunderstood the whole thing. Absolutely my mistake. Forget it and sorry for wasting your tie. Clsoing