Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/droplab/plugins/ajax.js')
-rw-r--r--app/assets/javascripts/droplab/plugins/ajax.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/droplab/plugins/ajax.js b/app/assets/javascripts/droplab/plugins/ajax.js
index 48b2a90c459..77d60454d1a 100644
--- a/app/assets/javascripts/droplab/plugins/ajax.js
+++ b/app/assets/javascripts/droplab/plugins/ajax.js
@@ -43,10 +43,10 @@ const Ajax = {
return AjaxCache.retrieve(config.endpoint)
.then(self.preprocessing.bind(null, config))
- .then(data => self._loadData(data, config, self))
+ .then((data) => self._loadData(data, config, self))
.catch(config.onError);
},
- destroy: function() {
+ destroy: function () {
this.destroyed = true;
},
};