diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-01-08 17:59:29 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-01-09 10:48:40 +0100 |
commit | 63f75c7ebacf8b9f8e508f2e3e6ce660078897d4 (patch) | |
tree | fd47a0aa834c4a9c2ea7b0c297ec221be871d788 /server/sonar-web/src/main/coffee/issue/models | |
parent | c77e3c79702ca21833a2c62224e3aedadd79081f (diff) | |
download | sonarqube-63f75c7ebacf8b9f8e508f2e3e6ce660078897d4.tar.gz sonarqube-63f75c7ebacf8b9f8e508f2e3e6ce660078897d4.zip |
move some js libs to a standard distribution
Diffstat (limited to 'server/sonar-web/src/main/coffee/issue/models')
-rw-r--r-- | server/sonar-web/src/main/coffee/issue/models/changelog.coffee | 8 | ||||
-rw-r--r-- | server/sonar-web/src/main/coffee/issue/models/issue.coffee | 6 |
2 files changed, 3 insertions, 11 deletions
diff --git a/server/sonar-web/src/main/coffee/issue/models/changelog.coffee b/server/sonar-web/src/main/coffee/issue/models/changelog.coffee index eda1d6f88e9..dc19a7f354a 100644 --- a/server/sonar-web/src/main/coffee/issue/models/changelog.coffee +++ b/server/sonar-web/src/main/coffee/issue/models/changelog.coffee @@ -1,8 +1,4 @@ -define [ - 'backbone' -], ( - Backbone -) -> +define -> class ChangeLog extends Backbone.Collection @@ -11,4 +7,4 @@ define [ parse: (r) -> - return r.changelog
\ No newline at end of file + return r.changelog diff --git a/server/sonar-web/src/main/coffee/issue/models/issue.coffee b/server/sonar-web/src/main/coffee/issue/models/issue.coffee index aa5f34b1332..efb62c7767a 100644 --- a/server/sonar-web/src/main/coffee/issue/models/issue.coffee +++ b/server/sonar-web/src/main/coffee/issue/models/issue.coffee @@ -1,8 +1,4 @@ -define [ - 'backbone' -], ( - Backbone -) -> +define -> class Issue extends Backbone.Model idAttribute: 'key' |