diff options
author | José Iván <jivanvlop@gmail.com> | 2016-09-05 22:28:59 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-03 12:42:09 -0500 |
commit | 2cf24065686d5236205e29a7a5e8cb7a0603ad6b (patch) | |
tree | 01ef39ee90167985fdd0fc1869385713b05476eb /README.md | |
parent | b4045e997feae2043965706ae9f89ce6221a3792 (diff) | |
download | gitlab-ce-cleanup-global-namespace-javascript.tar.gz |
Cleaned up global namespace JSgitlab-ce-cleanup-global-namespace-javascript
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
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions