Skip to content
Snippets Groups Projects
Commit aac4aa10 authored by Mike Greiling's avatar Mike Greiling
Browse files

ensure classes declared outside an IIFE are properties of window

parent b70b9628
No related branches found
No related tags found
No related merge requests found
Showing with 21 additions and 1 deletion
Loading
@@ -66,3 +66,5 @@ class ListIssue {
Loading
@@ -66,3 +66,5 @@ class ListIssue {
return Vue.http.patch(url, data); return Vue.http.patch(url, data);
} }
} }
window.ListIssue = ListIssue;
Loading
@@ -9,3 +9,5 @@ class ListLabel {
Loading
@@ -9,3 +9,5 @@ class ListLabel {
this.priority = (obj.priority !== null) ? obj.priority : Infinity; this.priority = (obj.priority !== null) ? obj.priority : Infinity;
} }
} }
window.ListLabel = ListLabel;
Loading
@@ -145,3 +145,5 @@ class List {
Loading
@@ -145,3 +145,5 @@ class List {
}); });
} }
} }
window.List = List;
Loading
@@ -5,3 +5,5 @@ class ListMilestone {
Loading
@@ -5,3 +5,5 @@ class ListMilestone {
this.title = obj.title; this.title = obj.title;
} }
} }
window.ListMilestone = ListMilestone;
Loading
@@ -7,3 +7,5 @@ class ListUser {
Loading
@@ -7,3 +7,5 @@ class ListUser {
this.avatar = user.avatar_url; this.avatar = user.avatar_url;
} }
} }
window.ListUser = ListUser;
Loading
@@ -63,4 +63,6 @@ class BoardService {
Loading
@@ -63,4 +63,6 @@ class BoardService {
issue issue
}); });
} }
}; }
window.BoardService = BoardService;
Loading
@@ -89,3 +89,5 @@ class DiscussionModel {
Loading
@@ -89,3 +89,5 @@ class DiscussionModel {
return false; return false;
} }
} }
window.DiscussionModel = DiscussionModel;
Loading
@@ -8,3 +8,5 @@ class NoteModel {
Loading
@@ -8,3 +8,5 @@ class NoteModel {
this.resolved_by = resolved_by; this.resolved_by = resolved_by;
} }
} }
window.NoteModel = NoteModel;
Loading
@@ -20,3 +20,5 @@ class EnvironmentsService {
Loading
@@ -20,3 +20,5 @@ class EnvironmentsService {
return this.environments.get(); return this.environments.get();
} }
} }
window.EnvironmentsService = EnvironmentsService;
Loading
@@ -75,3 +75,5 @@ class ProtectedBranchDropdown {
Loading
@@ -75,3 +75,5 @@ class ProtectedBranchDropdown {
this.$dropdownFooter.toggleClass('hidden', !branchName); this.$dropdownFooter.toggleClass('hidden', !branchName);
} }
} }
window.ProtectedBranchDropdown = ProtectedBranchDropdown;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment