Remove redundant require
s from Banzai files
We're trying to avoid circular dependency errors.
This commit is contained in:
parent
6b95be1ddd
commit
8558483417
18 changed files with 0 additions and 38 deletions
|
@ -1,5 +1,3 @@
|
|||
require 'active_support/core_ext/string/output_safety'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
def self.[](name)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
require 'uri'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML Filter to add a `rel="nofollow"` attribute to external links
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
class MarkdownFilter < HTML::Pipeline::TextFilter
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that replaces milestone references with links.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that removes references to records that the current user does
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that gathers all referenced records that the current user has
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
require 'uri'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
require 'html/pipeline/sanitization_filter'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# Sanitize HTML
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
require 'rouge/plugins/redcarpet'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
require 'uri'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
require 'html/pipeline/filter'
|
||||
require 'yaml'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
class YamlFrontMatterFilter < HTML::Pipeline::Filter
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'html/pipeline'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class BasePipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class WikiPipeline < FullPipeline
|
||||
|
|
Loading…
Reference in a new issue