aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-09-10 10:42:07 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-09-10 12:26:16 +0200
commite1b6cbcba2e342b4671a1bf88e1fd174b55b44cf (patch)
tree38069eebe3c0ccbcfc2e612f74dbd1dfd772c380 /server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js
parent5981d630ff9637a78868d989f22a3f10f15306c5 (diff)
downloadsonarqube-e1b6cbcba2e342b4671a1bf88e1fd174b55b44cf.tar.gz
sonarqube-e1b6cbcba2e342b4671a1bf88e1fd174b55b44cf.zip
Revert "use single web app"
Diffstat (limited to 'server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js')
-rw-r--r--server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js b/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js
index aaa8c2d1b66..fce8bf4fbdf 100644
--- a/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js
+++ b/server/sonar-web/src/main/js/apps/custom-measures/custom-measure.js
@@ -1,12 +1,10 @@
-define([
- 'backbone'
-], function (Backbone) {
+define(function () {
return Backbone.Model.extend({
idAttribute: 'id',
urlRoot: function () {
- return window.baseUrl + '/api/custom_measures';
+ return baseUrl + '/api/custom_measures';
},
sync: function (method, model, options) {