fix sprockets circular error

This commit is contained in:
Thomas Reynolds 2011-08-19 16:42:28 -07:00
parent 38c46cc89a
commit f48c648d64

View file

@ -46,6 +46,11 @@ module Middleman::CoreExtensions::Sprockets
# rescue LoadError
# end
end
def javascript_exception_response(exception)
expire_index!
super(exception)
end
end
# class StylesheetEnvironment < MiddlemanEnvironment
@ -59,5 +64,10 @@ module Middleman::CoreExtensions::Sprockets
# stylesheets_path = File.join(File.expand_path(app.views), app.css_dir)
# append_path stylesheets_path
# end
#
# def css_exception_response(exception)
# expire_index!
# super(exception)
# end
# end
end