Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
dd00fff9
Commit
dd00fff9
authored
Jul 26, 2021
by
Jannik Lehmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete EventListeners
parent
36a765d9
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
13 deletions
+8
-13
app/assets/javascripts/pages/ldap/omniauth_callbacks/index.js
...assets/javascripts/pages/ldap/omniauth_callbacks/index.js
+1
-1
app/assets/javascripts/pages/projects/environments/folder/index.js
...s/javascripts/pages/projects/environments/folder/index.js
+1
-1
app/assets/javascripts/pages/projects/environments/metrics/index.js
.../javascripts/pages/projects/environments/metrics/index.js
+1
-1
app/assets/javascripts/pages/projects/environments/terminal/index.js
...javascripts/pages/projects/environments/terminal/index.js
+1
-1
app/assets/javascripts/pages/projects/network/show/index.js
app/assets/javascripts/pages/projects/network/show/index.js
+2
-2
app/assets/javascripts/pages/projects/static_site_editor/show/index.js
...vascripts/pages/projects/static_site_editor/show/index.js
+1
-3
app/assets/javascripts/sourcegraph/load.js
app/assets/javascripts/sourcegraph/load.js
+1
-4
No files found.
app/assets/javascripts/pages/ldap/omniauth_callbacks/index.js
View file @
dd00fff9
import
{
mount2faAuthentication
}
from
'
~/authentication/mount_2fa
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
mount2faAuthentication
);
mount2faAuthentication
(
);
app/assets/javascripts/pages/projects/environments/folder/index.js
View file @
dd00fff9
import
initEnvironmentsFolderBundle
from
'
~/environments/folder/environments_folder_bundle
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
initEnvironmentsFolderBundle
);
initEnvironmentsFolderBundle
(
);
app/assets/javascripts/pages/projects/environments/metrics/index.js
View file @
dd00fff9
import
monitoringApp
from
'
~/monitoring/monitoring_app
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
monitoringApp
);
monitoringApp
(
);
app/assets/javascripts/pages/projects/environments/terminal/index.js
View file @
dd00fff9
import
initTerminal
from
'
~/terminal/
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
initTerminal
);
initTerminal
(
);
app/assets/javascripts/pages/projects/network/show/index.js
View file @
dd00fff9
...
...
@@ -2,7 +2,7 @@ import $ from 'jquery';
import
ShortcutsNetwork
from
'
~/behaviors/shortcuts/shortcuts_network
'
;
import
Network
from
'
../network
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
(
()
=>
{
if
(
!
$
(
'
.network-graph
'
).
length
)
return
;
const
networkGraph
=
new
Network
({
...
...
@@ -14,4 +14,4 @@ document.addEventListener('DOMContentLoaded', () => {
// eslint-disable-next-line no-new
new
ShortcutsNetwork
(
networkGraph
.
branch_graph
);
});
})
()
;
app/assets/javascripts/pages/projects/static_site_editor/show/index.js
View file @
dd00fff9
import
initStaticSiteEditor
from
'
~/static_site_editor
'
;
window
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initStaticSiteEditor
(
document
.
querySelector
(
'
#static-site-editor
'
));
});
initStaticSiteEditor
(
document
.
querySelector
(
'
#static-site-editor
'
));
app/assets/javascripts/sourcegraph/load.js
View file @
dd00fff9
import
initSourcegraph
from
'
./index
'
;
/**
* Load sourcegraph in it's own listener so that it's isolated from failures.
*/
document
.
addEventListener
(
'
DOMContentLoaded
'
,
initSourcegraph
);
initSourcegraph
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment