Remove redundant requires from Banzai files

We're trying to avoid circular dependency errors.
This commit is contained in:
Robert Speicher 2016-03-24 13:23:47 -04:00
parent 6b95be1ddd
commit 8558483417
18 changed files with 0 additions and 38 deletions

View file

@ -1,5 +1,3 @@
require 'active_support/core_ext/string/output_safety'
module Banzai
module Filter
def self.[](name)

View file

@ -1,4 +1,3 @@
require 'html/pipeline/filter'
require 'uri'
module Banzai

View file

@ -1,7 +1,3 @@
require 'action_controller'
require 'gitlab_emoji'
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that replaces :emoji: with images.

View file

@ -1,5 +1,3 @@
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML Filter to add a `rel="nofollow"` attribute to external links

View file

@ -1,6 +1,3 @@
require 'banzai'
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML Filter for parsing Gollum's tags in HTML. It's only parses the

View file

@ -1,5 +1,3 @@
require 'html/pipeline/filter'
module Banzai
module Filter
class MarkdownFilter < HTML::Pipeline::TextFilter

View file

@ -1,5 +1,3 @@
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces milestone references with links.

View file

@ -1,5 +1,3 @@
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that removes references to records that the current user does

View file

@ -1,6 +1,3 @@
require 'active_support/core_ext/string/output_safety'
require 'html/pipeline/filter'
module Banzai
module Filter
# Base class for GitLab Flavored Markdown reference filters.

View file

@ -1,5 +1,3 @@
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that gathers all referenced records that the current user has

View file

@ -1,4 +1,3 @@
require 'html/pipeline/filter'
require 'uri'
module Banzai

View file

@ -1,6 +1,3 @@
require 'html/pipeline/filter'
require 'html/pipeline/sanitization_filter'
module Banzai
module Filter
# Sanitize HTML

View file

@ -1,4 +1,3 @@
require 'html/pipeline/filter'
require 'rouge/plugins/redcarpet'
module Banzai

View file

@ -1,5 +1,3 @@
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that adds an anchor child element to all Headers in a

View file

@ -1,4 +1,3 @@
require 'html/pipeline/filter'
require 'uri'
module Banzai

View file

@ -1,6 +1,3 @@
require 'html/pipeline/filter'
require 'yaml'
module Banzai
module Filter
class YamlFrontMatterFilter < HTML::Pipeline::Filter

View file

@ -1,5 +1,3 @@
require 'html/pipeline'
module Banzai
module Pipeline
class BasePipeline

View file

@ -1,5 +1,3 @@
require 'banzai'
module Banzai
module Pipeline
class WikiPipeline < FullPipeline