Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
aac4aa10
Commit
aac4aa10
authored
Dec 14, 2016
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure classes declared outside an IIFE are properties of window
parent
b70b9628
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
1 deletion
+21
-1
app/assets/javascripts/boards/models/issue.js.es6
app/assets/javascripts/boards/models/issue.js.es6
+2
-0
app/assets/javascripts/boards/models/label.js.es6
app/assets/javascripts/boards/models/label.js.es6
+2
-0
app/assets/javascripts/boards/models/list.js.es6
app/assets/javascripts/boards/models/list.js.es6
+2
-0
app/assets/javascripts/boards/models/milestone.js.es6
app/assets/javascripts/boards/models/milestone.js.es6
+2
-0
app/assets/javascripts/boards/models/user.js.es6
app/assets/javascripts/boards/models/user.js.es6
+2
-0
app/assets/javascripts/boards/services/board_service.js.es6
app/assets/javascripts/boards/services/board_service.js.es6
+3
-1
app/assets/javascripts/diff_notes/models/discussion.js.es6
app/assets/javascripts/diff_notes/models/discussion.js.es6
+2
-0
app/assets/javascripts/diff_notes/models/note.js.es6
app/assets/javascripts/diff_notes/models/note.js.es6
+2
-0
app/assets/javascripts/environments/services/environments_service.js.es6
...scripts/environments/services/environments_service.js.es6
+2
-0
app/assets/javascripts/protected_branches/protected_branch_dropdown.js.es6
...ripts/protected_branches/protected_branch_dropdown.js.es6
+2
-0
No files found.
app/assets/javascripts/boards/models/issue.js.es6
View file @
aac4aa10
...
@@ -66,3 +66,5 @@ class ListIssue {
...
@@ -66,3 +66,5 @@ class ListIssue {
return Vue.http.patch(url, data);
return Vue.http.patch(url, data);
}
}
}
}
window.ListIssue = ListIssue;
app/assets/javascripts/boards/models/label.js.es6
View file @
aac4aa10
...
@@ -9,3 +9,5 @@ class ListLabel {
...
@@ -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;
app/assets/javascripts/boards/models/list.js.es6
View file @
aac4aa10
...
@@ -145,3 +145,5 @@ class List {
...
@@ -145,3 +145,5 @@ class List {
});
});
}
}
}
}
window.List = List;
app/assets/javascripts/boards/models/milestone.js.es6
View file @
aac4aa10
...
@@ -5,3 +5,5 @@ class ListMilestone {
...
@@ -5,3 +5,5 @@ class ListMilestone {
this.title = obj.title;
this.title = obj.title;
}
}
}
}
window.ListMilestone = ListMilestone;
app/assets/javascripts/boards/models/user.js.es6
View file @
aac4aa10
...
@@ -7,3 +7,5 @@ class ListUser {
...
@@ -7,3 +7,5 @@ class ListUser {
this.avatar = user.avatar_url;
this.avatar = user.avatar_url;
}
}
}
}
window.ListUser = ListUser;
app/assets/javascripts/boards/services/board_service.js.es6
View file @
aac4aa10
...
@@ -63,4 +63,6 @@ class BoardService {
...
@@ -63,4 +63,6 @@ class BoardService {
issue
issue
});
});
}
}
};
}
window.BoardService = BoardService;
app/assets/javascripts/diff_notes/models/discussion.js.es6
View file @
aac4aa10
...
@@ -89,3 +89,5 @@ class DiscussionModel {
...
@@ -89,3 +89,5 @@ class DiscussionModel {
return false;
return false;
}
}
}
}
window.DiscussionModel = DiscussionModel;
app/assets/javascripts/diff_notes/models/note.js.es6
View file @
aac4aa10
...
@@ -8,3 +8,5 @@ class NoteModel {
...
@@ -8,3 +8,5 @@ class NoteModel {
this.resolved_by = resolved_by;
this.resolved_by = resolved_by;
}
}
}
}
window.NoteModel = NoteModel;
app/assets/javascripts/environments/services/environments_service.js.es6
View file @
aac4aa10
...
@@ -20,3 +20,5 @@ class EnvironmentsService {
...
@@ -20,3 +20,5 @@ class EnvironmentsService {
return this.environments.get();
return this.environments.get();
}
}
}
}
window.EnvironmentsService = EnvironmentsService;
app/assets/javascripts/protected_branches/protected_branch_dropdown.js.es6
View file @
aac4aa10
...
@@ -75,3 +75,5 @@ class ProtectedBranchDropdown {
...
@@ -75,3 +75,5 @@ class ProtectedBranchDropdown {
this.$dropdownFooter.toggleClass('hidden', !branchName);
this.$dropdownFooter.toggleClass('hidden', !branchName);
}
}
}
}
window.ProtectedBranchDropdown = ProtectedBranchDropdown;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment