twitter / hogan.js

A compiler for the Mustache templating language
http://twitter.github.io/hogan.js
Apache License 2.0
5.14k stars 431 forks source link

include copy of client-side compiler for npm #186

Closed notslang closed 10 years ago

notslang commented 10 years ago

0c67880a652f364a40d84342d4945bb5d3a65652 removed the entire web directory, which was what we at accord were using to provide the copy of the compiler that's needed to render precompiled templates (that have lambda functions) on the client.

So, could you add back a copy of the compiler associated with the current version of hogan.js, and perhaps a function to get it easily?

sayrer commented 10 years ago

I understand the problem you're having, but I don't know what the best solution would be. I don't really use npm.

Should we just unignore the web/ directory? Seems like that might do the trick.

I'll take a patch for whatever you want to do.

notslang commented 10 years ago

Yep, that would do it, it's just that we don't need all the builds. We only need the one for the current version. I'll submit a PR tomorrow or Monday