mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ba83aa7f03
This is another step in moving Action View's dependencies in Action Pack to Action View itself. Also, HtmlScanner seems to be better suited for views rather than controllers.
20 lines
605 B
Ruby
20 lines
605 B
Ruby
$LOAD_PATH << "#{File.dirname(__FILE__)}/html-scanner"
|
|
|
|
module HTML
|
|
extend ActiveSupport::Autoload
|
|
|
|
eager_autoload do
|
|
autoload :CDATA, 'html/node'
|
|
autoload :Document, 'html/document'
|
|
autoload :FullSanitizer, 'html/sanitizer'
|
|
autoload :LinkSanitizer, 'html/sanitizer'
|
|
autoload :Node, 'html/node'
|
|
autoload :Sanitizer, 'html/sanitizer'
|
|
autoload :Selector, 'html/selector'
|
|
autoload :Tag, 'html/node'
|
|
autoload :Text, 'html/node'
|
|
autoload :Tokenizer, 'html/tokenizer'
|
|
autoload :Version, 'html/version'
|
|
autoload :WhiteListSanitizer, 'html/sanitizer'
|
|
end
|
|
end
|