fix // search and replace typo

This commit is contained in:
Thomas Reynolds 2012-05-28 22:01:36 -07:00
parent b02ee61639
commit 2535ce2c90
2 changed files with 7 additions and 7 deletions

View file

@ -25,39 +25,39 @@ module Middleman
# CoffeeScript Support # CoffeeScript Support
begin begin
require "middleman-core/renderers//coffee_script" require "middleman-core/renderers/coffee_script"
app.register Middleman::Renderers::CoffeeScript app.register Middleman::Renderers::CoffeeScript
rescue LoadError rescue LoadError
end end
# Haml Support # Haml Support
begin begin
require "middleman-core/renderers//haml" require "middleman-core/renderers/haml"
app.register Middleman::Renderers::Haml app.register Middleman::Renderers::Haml
rescue LoadError rescue LoadError
end end
# Sass Support # Sass Support
begin begin
require "middleman-core/renderers//sass" require "middleman-core/renderers/sass"
app.register Middleman::Renderers::Sass app.register Middleman::Renderers::Sass
rescue LoadError rescue LoadError
end end
# Markdown Support # Markdown Support
require "middleman-core/renderers//markdown" require "middleman-core/renderers/markdown"
app.register Middleman::Renderers::Markdown app.register Middleman::Renderers::Markdown
# Liquid Support # Liquid Support
begin begin
require "middleman-core/renderers//liquid" require "middleman-core/renderers/liquid"
app.register Middleman::Renderers::Liquid app.register Middleman::Renderers::Liquid
rescue LoadError rescue LoadError
end end
# Slim Support # Slim Support
begin begin
require "middleman-core/renderers//slim" require "middleman-core/renderers/slim"
app.register Middleman::Renderers::Slim app.register Middleman::Renderers::Slim
rescue LoadError rescue LoadError
end end

View file

@ -28,7 +28,7 @@ module Middleman
begin begin
# Look for the user's preferred engine # Look for the user's preferred engine
if markdown_engine == :redcarpet if markdown_engine == :redcarpet
require "middleman-core/renderers//redcarpet" require "middleman-core/renderers/redcarpet"
::Tilt.prefer(::Middleman::Renderers::RedcarpetTemplate) ::Tilt.prefer(::Middleman::Renderers::RedcarpetTemplate)
elsif markdown_engine.nil? elsif markdown_engine.nil?
# Map symbols to classes # Map symbols to classes