Closed remy closed 10 years ago
The README is up to date with current master & latest work haven't been released yet.
If you want to get the readme example to work, just use current master (npm i -g git://github.com/segmentio/myth
).
I've planned a release next week but need to handle a tiny thing to improve performance first.
myth.js is only updated for release that's why you are getting some differences. (Where did you find a .min.js ?)
Btw @ianstormtaylor maybe we should get a stable
branch & make it default one.
Not sure where the min file came from (@electricg can you comment?). I suspect it came from a clone and grunt build process (but that's a guess until @electricg comments). But it sounds like that would explain why it's behaving inconsistently.
(For context, we're adding myth to list of processors on jsbin.com)
Cheers for the clarifications, it does look like our .min was based off of the github repo, and our node module was the npm package. We'll stick with what's in npm to make keeping in sync easier.
FWIW I think having a stable branch (or develop & master) definitely would help.
Cheers.
I think we can get away with keeping the current master
setup, but we should just release faster? Or keep the mental barrier to releasing down I think. @MoOx can we release the current master as a minor
bump and then when we improve the performance we can bump patch
so that it proliferates easily?
Testing the CSS below (from the README first example) and using myth on the command line gives an exception:
What's particularly strange about this is that when I use myth in the client side (using the .min.js file), it renders just fine. Any ideas why?