Permalink
Browse files

Remove the duplicated code.

This completes the refactoring.
  • Loading branch information...
mattr- committed Mar 9, 2013
1 parent 7285305 commit 42cd5fbac02e6ad0173f1b8f39a985a7622b6f05
Showing with 0 additions and 11 deletions.
  1. +0 −11 lib/jekyll/site.rb
View
@@ -89,18 +89,7 @@ def setup
end
self.converters = hydrate(Jekyll::Converter)
- self.converters = Jekyll::Converter.subclasses.select do |c|
- !self.safe || c.safe
- end.map do |c|
- c.new(self.config)
- end
-
self.generators = hydrate(Jekyll::Generator)
- self.generators = Jekyll::Generator.subclasses.select do |c|
- !self.safe || c.safe
- end.map do |c|
- c.new(self.config)
- end
end
# Internal: Setup the plugin search path

0 comments on commit 42cd5fb

Please sign in to comment.