bminer / node-blade

Blade - HTML Template Compiler, inspired by Jade & Haml
Other
320 stars 28 forks source link

Quick fix for compatibility with Meteor 0.6 #162

Closed logankoester closed 11 years ago

logankoester commented 11 years ago

https://github.com/bminer/node-blade/issues/161

This was actually all it took to fix the problem for me.

sbking commented 11 years ago

Is the requireHack still necessary in 0.6.0? Looks like it could be refactored to just use Npm.require().

logankoester commented 11 years ago

That's how it looked at first to me too, but it seems to also solve some problems related to the meteor package being located in a subdirectory of the same npm module, which I'm afraid I don't fully understand.

bminer commented 11 years ago

The Blade smart package will be restructured for Meteor 0.6.0. That stupid hack is FINALLY no longer necessary. :)

I'm closing this pull request for now. I will address this in the next release of Blade. :)

Thanks anyway for the pull request. Much appreciated!