diff options
Diffstat (limited to 'app/assets/javascripts/blob/utils.js')
-rw-r--r-- | app/assets/javascripts/blob/utils.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/assets/javascripts/blob/utils.js b/app/assets/javascripts/blob/utils.js index 92c6277d4f1..b2400a4b224 100644 --- a/app/assets/javascripts/blob/utils.js +++ b/app/assets/javascripts/blob/utils.js @@ -1,19 +1,5 @@ -import Editor from '~/editor/source_editor'; import { getBaseURL } from '~/lib/utils/url_utility'; -export function initSourceEditor({ el, ...args }) { - const editor = new Editor({ - scrollbar: { - alwaysConsumeMouseWheel: false, - }, - }); - - return editor.createInstance({ - el, - ...args, - }); -} - const blameLinesPerPage = document.querySelector('.js-per-page')?.dataset?.blamePerPage; export const getPageParamValue = (lineNum, blamePerPage = blameLinesPerPage) => { |