Shogun147/Katana — pull request #3 by imperez (2012-09-23 17:24:05+00:00)
Title: Engine.js fails with subdirectory in views dir

I noticed when I was organizing some views in engine.js kept failing when trying to call a readFile on it. So I added some code to check for a directory and if so runs the callback with an empty content.

I'm not too sure if this solution is completely best since I don't know the inner workings of the framework but everything seems to be working again on my side.

Give it a look and let me know what you think.