summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issue.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-07-06 13:05:58 -0500
committerMike Greiling <mike@pixelcog.com>2017-07-06 13:05:58 -0500
commitd990df7481f3775a27cc6a09d7400f66628411da (patch)
tree134ab9f662691d75b0c688782cd6da32945c7f57 /app/assets/javascripts/issue.js
parent571de11eb6467ff3234235444fded7abecb29fbf (diff)
downloadgitlab-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.js4
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',