This repository has been archived by the owner on Apr 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #2, Use a simpler implementation to read templates
Replace File.exists and File.directory? with File.read because they are not available in a browser environment. Also narrow down the number of locations where we were looking for templates: - #{template_dir}/#{name}.jade - #{template_dir}/jade/#{name}.jade
- Loading branch information
1 parent
ac11235
commit c102808
Showing
1 changed file
with
21 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters