-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add a new helper function to docpad.coffee #18
Comments
Strange, is your repo's source up somewhere? |
The full source is here: https://github.com/jasonlally/jasonlally.github.io/tree/source I'm running node 0.10.22, npm 1.3.15, docpad 6.57.1 |
I think I found a way to fix my problem. I don't know why exactly, but I was using WebStorm to work on my site and I think it was doing something strange to my whitespace. Anyway, it seems when I edit my docpad.coffee file in Sublime Text, I'm fine. |
Nevermind, that's not the case. Hmmmm...this is really weird, I can't figure out why sometimes it wants to compile correctly and other times it doesn't. |
Check for tabs in your code. You may try to use auto Reformat Code and re-indent manually if needed. |
Exactly same problem here using Brackets 1.3 on Windows. |
It seems whenever I try to edit the docpad.coffee file to add another helper, I get an error when issuing docpad run. The new helper function is below getPreparedKeywords, called contentTrim. I do not call contentTrim in any of my templates yet. Here's my updated docpad.cofeee file:
The text was updated successfully, but these errors were encountered: