move gem requires
This commit is contained in:
parent
4422efc270
commit
347eb2c6b8
|
@ -3,6 +3,8 @@ libdir = File.expand_path(File.dirname(__FILE__))
|
||||||
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
||||||
|
|
||||||
require "middleman-core"
|
require "middleman-core"
|
||||||
|
require "sass"
|
||||||
|
require "coffee_script"
|
||||||
|
|
||||||
# Top-level Middleman object
|
# Top-level Middleman object
|
||||||
module Middleman
|
module Middleman
|
||||||
|
@ -40,7 +42,6 @@ module Middleman
|
||||||
autoload :MinifyJavascript, "middleman-more/extensions/minify_javascript"
|
autoload :MinifyJavascript, "middleman-more/extensions/minify_javascript"
|
||||||
end
|
end
|
||||||
|
|
||||||
require "coffee_script"
|
|
||||||
Base.register Middleman::Renderers::Haml
|
Base.register Middleman::Renderers::Haml
|
||||||
Base.register Middleman::Renderers::Sass
|
Base.register Middleman::Renderers::Sass
|
||||||
Base.register Middleman::Renderers::Markdown
|
Base.register Middleman::Renderers::Markdown
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
require "sprockets"
|
require "sprockets"
|
||||||
require "sprockets-sass"
|
require "sprockets-sass"
|
||||||
require "sass"
|
|
||||||
|
|
||||||
module Middleman::Renderers::Sass
|
module Middleman::Renderers::Sass
|
||||||
class << self
|
class << self
|
||||||
|
|
Loading…
Reference in a new issue