moar fixes
This commit is contained in:
parent
61d7e8abed
commit
e125fc67b3
7 changed files with 12 additions and 17 deletions
|
@ -1,3 +1,10 @@
|
|||
2.0.9
|
||||
=====
|
||||
- Added --glob option to build which only builds matching files
|
||||
- Allow data/ files to be in JSON format as well
|
||||
- Enabled Liquid {% include %} tag
|
||||
- RubyInstaller-specific gem
|
||||
|
||||
2.0.8
|
||||
=====
|
||||
- Support accessing variables and data objects in ERb Sprockets files (library.js.coffee.erb)
|
||||
|
|
|
@ -12,7 +12,7 @@ module Middleman
|
|||
destination = args.first || source
|
||||
|
||||
# source = File.expand_path(find_in_source_paths(source.to_s))
|
||||
context = instance_eval('binding')
|
||||
# context = instance_eval('binding')
|
||||
|
||||
request_path = destination.sub(/^#{SHARED_SERVER.build_dir}/, "")
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
require 'middleman'
|
||||
run Middleman.server
|
|
@ -76,6 +76,7 @@ module Middleman::CoreExtensions::Compass
|
|||
build_root = File.basename(self.build_dir)
|
||||
config.css_dir = File.join(build_root, self.css_dir)
|
||||
config.images_dir = File.join(build_root, self.images_dir)
|
||||
config.fonts_dir = File.join(build_root, self.fonts_dir)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
module Middleman::Features::TinySrc
|
||||
class << self
|
||||
def registered(app)
|
||||
app.register_asset_handler :tiny_src do |path, prefix, request|
|
||||
original_output = app.before_asset_handler(:tiny_src, path, prefix, request)
|
||||
"http://i.tinysrc.mobi/#{original_output}"
|
||||
end
|
||||
end
|
||||
alias :included :registered
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue