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
Léo-Paul Géneau
gitlab-ce
Commits
ed5f22cb
Commit
ed5f22cb
authored
Dec 02, 2016
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
satisfy eslint no-param-reassign rule
parent
8732ac40
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
app/assets/javascripts/diff.js.es6
app/assets/javascripts/diff.js.es6
+5
-4
app/assets/javascripts/merge_request_tabs.js.es6
app/assets/javascripts/merge_request_tabs.js.es6
+5
-4
No files found.
app/assets/javascripts/diff.js.es6
View file @
ed5f22cb
/* eslint-disable class-methods-use-this
, no-param-reassign
*/
/* eslint-disable class-methods-use-this */
((
global
) => {
(() => {
const UNFOLD_COUNT = 20;
const UNFOLD_COUNT = 20;
class Diff {
class Diff {
...
@@ -104,5 +104,6 @@
...
@@ -104,5 +104,6 @@
}
}
}
}
global.Diff = Diff;
window.gl = window.gl || {};
})(window.gl || (window.gl = {}));
window.gl.Diff = Diff;
})();
app/assets/javascripts/merge_request_tabs.js.es6
View file @
ed5f22cb
/* eslint-disable no-new,
no-param-reassign,
class-methods-use-this */
/* eslint-disable no-new, class-methods-use-this */
/* global Breakpoints */
/* global Breakpoints */
/* global Cookies */
/* global Cookies */
/* global DiffNotesApp */
/* global DiffNotesApp */
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
//
//
/* eslint-enable max-len */
/* eslint-enable max-len */
((
global
) => {
(() => {
// Store the `location` object, allowing for easier stubbing in tests
// Store the `location` object, allowing for easier stubbing in tests
let location = window.location;
let location = window.location;
...
@@ -385,5 +385,6 @@
...
@@ -385,5 +385,6 @@
}
}
}
}
global.MergeRequestTabs = MergeRequestTabs;
window.gl = window.gl || {};
})(window.gl || (window.gl = {}));
window.gl.MergeRequestTabs = MergeRequestTabs;
})();
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