Commit 4efbf574 authored by Valery Sizov's avatar Valery Sizov

[CE->EE] Resolve *.js

parent cdca89df
...@@ -31,12 +31,8 @@ import CILintEditor from './ci_lint_editor'; ...@@ -31,12 +31,8 @@ import CILintEditor from './ci_lint_editor';
import Labels from './labels'; import Labels from './labels';
import LabelManager from './label_manager'; import LabelManager from './label_manager';
/* global Sidebar */ /* global Sidebar */
<<<<<<< HEAD
/* global WeightSelect */ /* global WeightSelect */
/* global AdminEmailSelect */ /* global AdminEmailSelect */
=======
>>>>>>> 3fa410c831dac1dd1a74a14260ed99a5920218f8
import CommitsList from './commits'; import CommitsList from './commits';
import Issue from './issue'; import Issue from './issue';
import BindInOut from './behaviors/bind_in_out'; import BindInOut from './behaviors/bind_in_out';
...@@ -470,7 +466,6 @@ import initGroupAnalytics from './init_group_analytics'; ...@@ -470,7 +466,6 @@ import initGroupAnalytics from './init_group_analytics';
new TreeView(); new TreeView();
new BlobViewer(); new BlobViewer();
new NewCommitForm($('.js-create-dir-form')); new NewCommitForm($('.js-create-dir-form'));
<<<<<<< HEAD
if (document.querySelector('.js-tree-content').dataset.pathLocksAvailable === 'true') { if (document.querySelector('.js-tree-content').dataset.pathLocksAvailable === 'true') {
PathLocks.init( PathLocks.init(
...@@ -479,8 +474,6 @@ import initGroupAnalytics from './init_group_analytics'; ...@@ -479,8 +474,6 @@ import initGroupAnalytics from './init_group_analytics';
); );
} }
=======
>>>>>>> 3fa410c831dac1dd1a74a14260ed99a5920218f8
$('#tree-slider').waitForImages(function() { $('#tree-slider').waitForImages(function() {
ajaxGet(document.querySelector('.js-tree-content').dataset.logsPath); ajaxGet(document.querySelector('.js-tree-content').dataset.logsPath);
}); });
......
...@@ -340,16 +340,13 @@ $(function () { ...@@ -340,16 +340,13 @@ $(function () {
gl.utils.visitUrl(`${action}${$(this).serialize()}`); gl.utils.visitUrl(`${action}${$(this).serialize()}`);
}); });
<<<<<<< HEAD
/** /**
* EE specific scripts * EE specific scripts
*/ */
$('#modal-upload-trial-license').modal('show'); $('#modal-upload-trial-license').modal('show');
=======
const flashContainer = document.querySelector('.flash-container'); const flashContainer = document.querySelector('.flash-container');
if (flashContainer && flashContainer.children.length) { if (flashContainer && flashContainer.children.length) {
removeFlashClickListener(flashContainer.children[0]); removeFlashClickListener(flashContainer.children[0]);
} }
>>>>>>> 3fa410c831dac1dd1a74a14260ed99a5920218f8
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment