Permalink
Browse files

prefer autoloaded html scanner

  • Loading branch information...
josh committed Nov 24, 2008
1 parent f0f07c6 commit 426a86ab1e4fc2488215a9adab4511a59646a413
@@ -31,8 +31,6 @@
end
end
-$:.unshift "#{File.dirname(__FILE__)}/action_controller/vendor/html-scanner"
-
module ActionController
# TODO: Review explicit to see if they will automatically be handled by
# the initilizer if they are really needed.
@@ -99,6 +97,8 @@ class Session
end
autoload :Mime, 'action_controller/mime_type'
+
+autoload :HTML, 'action_controller/vendor/html-scanner'
autoload :Rack, 'action_controller/vendor/rack'
ActionController.load_all!
@@ -3,8 +3,6 @@
# Under MIT and/or CC By license.
#++
-require 'action_controller/vendor/html-scanner'
-
module ActionController
module Assertions
unless const_defined?(:NO_STRIP)
@@ -1,5 +1,4 @@
require 'action_view/helpers/tag_helper'
-require 'action_controller/vendor/html-scanner'
module ActionView
module Helpers #:nodoc:

0 comments on commit 426a86a

Please sign in to comment.