Commit graph

14 commits

Author SHA1 Message Date
GitLab Bot
63894d59ab Add latest changes from gitlab-org/gitlab@master 2019-12-06 12:06:21 +00:00
Mike Greiling
dfb0824346 Prettify all the things (part 7) 2018-10-24 19:17:03 +00:00
Jamie Schembri
b40c468b35 Fix #48934 - Focus on text input on danger confirmation 2018-07-06 16:20:44 +02:00
Mike Greiling
1fff345e0d
move confirm_danger_modal bindings directly into the only two pages that need it 2018-03-20 10:50:26 -05:00
Mike Greiling
43ff14e0c5
refactor ConfirmDangerModal into ES module 2018-03-20 00:37:16 -05:00
Mike Greiling
f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Filipa Lacerda
6a1b84c7b4 Use modules in common utils 2017-09-09 09:54:24 +01:00
Mike Greiling
8796d17a26 remove IIFEs in preparation for ES module refactor 2017-03-13 14:41:32 -05:00
Mike Greiling
0f31c5a92b replace implicit this == window with explicit binding 2017-02-17 16:58:32 -06:00
Mike Greiling
ccada28f30 resolve all padded-blocks eslint violations 2017-01-18 17:16:41 -06:00
Luke "Jared" Bennett
7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
José Iván
b1b51b774b Cleaned up global namespace JS
Moved most of the functions that contained "window.doSomething" that were located at:
- app/assets/javascripts/application.js
To the following file:
- app/assets/javascripts/lib/utils/common_utils.js

The functions listed here:
- window.ajaxGet
- window.split
- window.extractLast
- window.rstrip
- window.disableButtonIfEmptyField
- window.disableButtonIfAnyEmptyField
- window.sanitize
- window.unbindEvents
- window.shiftWindow

Now will be accessible from the "gl.utils" namespace
2016-11-03 23:00:21 -05:00
winniehell
02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Fatih Acet
aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00