diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/issue/models/changelog.js')
-rw-r--r-- | server/sonar-web/src/main/js/components/issue/models/changelog.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/models/changelog.js b/server/sonar-web/src/main/js/components/issue/models/changelog.js index a7efe2b886a..bf43428b8ec 100644 --- a/server/sonar-web/src/main/js/components/issue/models/changelog.js +++ b/server/sonar-web/src/main/js/components/issue/models/changelog.js @@ -1,13 +1,13 @@ -define([], function () { +import Backbone from 'backbone'; - return Backbone.Collection.extend({ - url: function () { - return baseUrl + '/api/issues/changelog'; - }, - - parse: function (r) { - return r.changelog; - } - }); +export default Backbone.Collection.extend({ + url: function () { + return baseUrl + '/api/issues/changelog'; + }, + parse: function (r) { + return r.changelog; + } }); + + |