Merge pull request #4944 from pathawks/fp/sort-includes
Merge pull request 4944
This commit is contained in:
commit
dc5fd15f71
|
@ -7,7 +7,7 @@ $LOAD_PATH.unshift File.dirname(__FILE__) # For use/testing when no gem is insta
|
||||||
# Returns nothing.
|
# Returns nothing.
|
||||||
def require_all(path)
|
def require_all(path)
|
||||||
glob = File.join(File.dirname(__FILE__), path, '*.rb')
|
glob = File.join(File.dirname(__FILE__), path, '*.rb')
|
||||||
Dir[glob].each do |f|
|
Dir[glob].sort.each do |f|
|
||||||
require f
|
require f
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -171,6 +171,7 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
require "jekyll/drops/drop"
|
require "jekyll/drops/drop"
|
||||||
|
require "jekyll/drops/document_drop"
|
||||||
require_all 'jekyll/commands'
|
require_all 'jekyll/commands'
|
||||||
require_all 'jekyll/converters'
|
require_all 'jekyll/converters'
|
||||||
require_all 'jekyll/converters/markdown'
|
require_all 'jekyll/converters/markdown'
|
||||||
|
|
Loading…
Reference in New Issue