diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-07-11 20:31:16 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2016-07-11 20:31:16 +0000 |
commit | 0bbf47da8fe6123592d061ad6f36377af443f1ae (patch) | |
tree | 3310d0fe57763fcbc24746aa6a2b41a9c690be3a /app/assets/javascripts/ci/application.js.coffee | |
parent | 734e44ee79590be6d9f01ca3e815304221a5c88d (diff) | |
parent | 1569dfd6cdf004a7d195dc0b8cd92396019dd54e (diff) | |
download | gitlab-ce-0bbf47da8fe6123592d061ad6f36377af443f1ae.tar.gz |
Merge branch 'cleanup-coffeescripts-from-gitlab-ci' into 'master'
Clean up coffeescript files imported from GitLab CI
## What does this MR do?
This MR cleans up CoffeeScript files imported from GitLab CI along with a strategy #19159. Some files should have been removed in !1987.
## Are there points in the code the reviewer needs to double check?
While I think the `Build` module should be named as `Build`, not `CiBuild` in the JavaScript namespace, please check if it should.
## Why was this MR needed?
Removing unused coffeescript files reduces time to build JS and so time to transfer even in production. The fewer files, the better, too.
## What are the relevant issue numbers?
Closes #19159
## Screenshots (if relevant)
n/a
## Does this MR meet the acceptance criteria?
- [skipped] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [skipped] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [skipped] API support added
- Tests
- [skipped] Added for this feature/bug
- [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
See merge request !4925
Diffstat (limited to 'app/assets/javascripts/ci/application.js.coffee')
-rw-r--r-- | app/assets/javascripts/ci/application.js.coffee | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/app/assets/javascripts/ci/application.js.coffee b/app/assets/javascripts/ci/application.js.coffee deleted file mode 100644 index ca24c1d759f..00000000000 --- a/app/assets/javascripts/ci/application.js.coffee +++ /dev/null @@ -1,12 +0,0 @@ -#= require pager -#= require jquery_nested_form -#= require_tree . - -$(document).on 'click', '.assign-all-runner', -> - $(this).replaceWith('<i class="fa fa-refresh fa-spin"></i> Assign in progress..') - -window.unbindEvents = -> - $(document).unbind('scroll') - $(document).off('scroll') - -document.addEventListener("page:fetch", unbindEvents) |