Closed kagd closed 12 years ago
Brilliant! Thanks for this. Forgot to update the package.json after a recent refactor of the export style (3bf6830b9d07198d5383215f17db10be9cc2e38d). Appreciate the help.
Glad to help. I have used a couple of other template engines, by far this beats them. Great syntax. I am in the process of getting :titleize
working and I do have a couple of questions.
cake all
, git showed that parser.js had a bunch of changes from the previous version. Just curious if everything is supposed to be compiled when each feature and bug fix is done, or just on version numbers?Thanks for the quick response and npm publish.
Good to know about the jison compilation. Definitely strange that it functions differently on different systems. That almost seems like a bug in jison. Oh, well.
Thanks again.
I was in the process of trying to add the walrus rendering engine to consolidate.js for easy use within express but kept running into issues where .parse() was undefined. After a bunch of trial and error I discovered that it was because require('walrus') was not actually loading walrus. It wasn't loading walrus because the package.json was not pointing to the compiled file, it was pointing to the working directory.
To test this out locally before accepting this pull request, you can duplicate this issue by creating a simple node app and just call
var walrus = require('walrus')
. This should throw an error, but if you update themain
path tobin
instead oflib
, it will load up correctly.