lib/nanoc/base/compilation/compiler.rb in nanoc-4.0.0a1 vs lib/nanoc/base/compilation/compiler.rb in nanoc-4.0.0a2
- old
+ new
@@ -410,10 +410,9 @@
end
# Returns a preprocessor context, creating one if none exists yet.
def preprocessor_context
Nanoc::Int::Context.new({
- site: Nanoc::SiteView.new(@site), # TODO: remove me
config: Nanoc::MutableConfigView.new(@site.config),
items: Nanoc::MutableItemCollectionView.new(@site.items),
layouts: Nanoc::MutableLayoutCollectionView.new(@site.layouts),
})
end