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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
e92846ca
Commit
e92846ca
authored
Jan 05, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds CHANGELOG entry
parent
61db9e2f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
app/assets/javascripts/environments/components/environment_item.js.es6
...vascripts/environments/components/environment_item.js.es6
+2
-2
app/assets/javascripts/environments/stores/environments_store.js.es6
...javascripts/environments/stores/environments_store.js.es6
+1
-1
changelogs/unreleased/25725-remove-window-object.yml
changelogs/unreleased/25725-remove-window-object.yml
+4
-0
No files found.
app/assets/javascripts/environments/components/environment_item.js.es6
View file @
e92846ca
...
...
@@ -23,8 +23,8 @@
*/
window.gl = window.gl || {};
gl.environmentsList = window.gl.environmentsList || {};
gl.environmentsList.timeagoInstance = new timeago(); // eslint-disable-line
window.
gl.environmentsList = window.gl.environmentsList || {};
window.
gl.environmentsList.timeagoInstance = new timeago(); // eslint-disable-line
gl.environmentsList.EnvironmentItem = Vue.component('environment-item', {
...
...
app/assets/javascripts/environments/stores/environments_store.js.es6
View file @
e92846ca
/* eslint-disable no-param-reassign */
(() => {
window.gl = window.gl || {};
gl.environmentsList = window.gl.environmentsList || {};
window.
gl.environmentsList = window.gl.environmentsList || {};
gl.environmentsList.EnvironmentsStore = {
state: {},
...
...
changelogs/unreleased/25725-remove-window-object.yml
0 → 100644
View file @
e92846ca
---
title
:
Removes unneeded `window` declaration in environments related code
merge_request
:
8456
author
:
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