diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-07-06 13:05:58 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-07-06 13:05:58 -0500 |
commit | d990df7481f3775a27cc6a09d7400f66628411da (patch) | |
tree | 134ab9f662691d75b0c688782cd6da32945c7f57 /app/assets/javascripts/issue.js | |
parent | 571de11eb6467ff3234235444fded7abecb29fbf (diff) | |
download | gitlab-ce-d990df7481f3775a27cc6a09d7400f66628411da.tar.gz |
refactor TaskList class to ES module syntax
Diffstat (limited to 'app/assets/javascripts/issue.js')
-rw-r--r-- | app/assets/javascripts/issue.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/issue.js b/app/assets/javascripts/issue.js index 0860e237ce1..7490cd31f58 100644 --- a/app/assets/javascripts/issue.js +++ b/app/assets/javascripts/issue.js @@ -4,13 +4,13 @@ import 'vendor/jquery.waitforimages'; import '~/lib/utils/text_utility'; import './flash'; -import './task_list'; +import TaskList from './task_list'; import CreateMergeRequestDropdown from './create_merge_request_dropdown'; class Issue { constructor() { if ($('a.btn-close').length) { - this.taskList = new gl.TaskList({ + this.taskList = new TaskList({ dataType: 'issue', fieldName: 'description', selector: '.detail-page-description', |