gitlab-org--gitlab-foss/app/assets/javascripts/boards/models/milestone.js.es6
Alfredo Sumaran ac3789d29f Merge branch 'fix-non-iife-classes' into 'master'
Ensure javascript classes declared outside an IIFE are properties of window

See merge request !8080
2016-12-28 16:43:55 +00:00

10 lines
175 B
JavaScript

/* eslint-disable no-unused-vars */
class ListMilestone {
constructor(obj) {
this.id = obj.id;
this.title = obj.title;
}
}
window.ListMilestone = ListMilestone;