Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow accessing :pre snapshot inside layout #548
Second part of the fix for #537.
This PR has two commits:
The code related to the fix isn’t as nice as it could be:
referenced this pull request
May 1, 2015
May 4, 2015
Quite weird, I feel like there's something missing. I grepped through the code, and it looks like the only uses of this variable are https://github.com/nanoc/nanoc/blob/release-3.7.x/lib/nanoc/base/result_data/item_rep.rb#L242 and
@jethrogb Yeah. It is confusing, I have to admit.
This is definitely a candidate for refactoring!