Skip to content

Commit

Permalink
Fixes #22 deep_merge => Utils.deep_merge_hashes
Browse files Browse the repository at this point in the history
Fixes Jekyll 2.0 compatibility

What I've learned today: Other people's monkey patches will change on
you.
  • Loading branch information
moshen committed May 22, 2014
1 parent 647f436 commit d8c2211
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asset_bundler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ def self.config(context)
if @@current_config.nil?
ret_config = nil
if context.registers[:site].config.key?("asset_bundler")
ret_config = @@default_config.deep_merge(context.registers[:site].config["asset_bundler"])
ret_config = Utils.deep_merge_hashes(@@default_config,
context.registers[:site].config["asset_bundler"])

ret_config['markup_templates'].keys.each {|k|
if !ret_config['markup_templates'][k].instance_of?(Liquid::Template)
Expand Down

0 comments on commit d8c2211

Please sign in to comment.