Mike Greiling
5c52ca9a0c
refactor SingleFileDiff class to ES module syntax
2017-07-06 13:39:28 -05:00
Bryce Johnson
81e9c28425
Render add-diff-note button with server.
...
This commit moves the rendering of the button back to the server, and
shows/hides it using opacity rather than display. It also removes the
transform applied to the button on hover (scale). Previously, both of these
factors automatically triggered a reflow, which creates a performance
bottleneck on pages with larger DOM size.
MR: !12103
2017-06-29 12:50:45 -04:00
Mike Greiling
5bd549187a
update remaining uses of CJS syntax to ES module syntax
2017-05-16 15:52:40 -05:00
Eric Eastwood
3380ee716d
Fix container issue when switching parallel "Changes" MR tab before done loading
...
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/29193
2017-04-03 13:42:55 -05:00
Mike Greiling
670d9a8bb6
ensure lineNumbers method always returns an array with two integers
2017-03-23 17:52:57 -05:00
Mike Greiling
b47432a7e2
enable Array destructuring and polyfill Symbol class
2017-03-21 12:37:25 -05:00
Mike Greiling
8796d17a26
remove IIFEs in preparation for ES module refactor
2017-03-13 14:41:32 -05:00
winniehell
572f9782d5
Remove .es6 from file extensions ( !9241 )
2017-03-05 21:22:40 +01:00
Mike Greiling
4f107f3fc4
refactor Diff to es6 class syntax
2016-12-02 17:38:57 -06:00
Mike Greiling
6c978994e1
fix diff line highlighting by moving method from the MergeRequestTabs class to the Diff class.
2016-12-02 17:32:37 -06:00
Luke "Jared" Bennett
7cefaea876
explicitly disable eslint inline
2016-11-15 16:30:34 +00:00
Hiroyuki Sato
bea83d2579
Remove an extra leading space from diff content
2016-11-04 14:05:49 +09:00
winniehell
02f94cf038
disable ESLint for all JavaScript files
2016-10-26 10:02:58 +02:00
Mike Greiling
76ae5af8ce
ensure the 'fixed layout' preference is honored whenever possible
...
see #22343 for issue description
2016-09-20 00:51:00 -05:00
Jared Deckard
7f6474b269
Restore comments lost when converting CoffeeScript to JavaScript
2016-09-08 12:23:12 -05:00
Tim Masliuchenko
b6d545df51
Add unfold links for Side-by-Side view
2016-08-04 09:09:59 +03:00
Fatih Acet
aaa9509d12
ES6ify all the things!
2016-07-24 23:45:11 +03:00