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
Loading
@@ -66,3 +66,5 @@ class ListIssue {
return Vue.http.patch(url, data);
}
}
window.ListIssue = ListIssue;
Loading
Loading
@@ -9,3 +9,5 @@ class ListLabel {
this.priority = (obj.priority !== null) ? obj.priority : Infinity;
}
}
window.ListLabel = ListLabel;
Loading
Loading
@@ -145,3 +145,5 @@ class List {
});
}
}
window.List = List;
Loading
Loading
@@ -5,3 +5,5 @@ class ListMilestone {
this.title = obj.title;
}
}
window.ListMilestone = ListMilestone;
Loading
Loading
@@ -7,3 +7,5 @@ class ListUser {
this.avatar = user.avatar_url;
}
}
window.ListUser = ListUser;
Loading
Loading
@@ -63,4 +63,6 @@ class BoardService {
issue
});
}
};
}
window.BoardService = BoardService;
Loading
Loading
@@ -89,3 +89,5 @@ class DiscussionModel {
return false;
}
}
window.DiscussionModel = DiscussionModel;
Loading
Loading
@@ -8,3 +8,5 @@ class NoteModel {
this.resolved_by = resolved_by;
}
}
window.NoteModel = NoteModel;
Loading
Loading
@@ -20,3 +20,5 @@ class EnvironmentsService {
return this.environments.get();
}
}
window.EnvironmentsService = EnvironmentsService;
Loading
Loading
@@ -75,3 +75,5 @@ class ProtectedBranchDropdown {
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