summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Deckard <jared.deckard@gmail.com>2016-07-28 12:40:17 -0500
committerJared Deckard <jared.deckard@gmail.com>2016-09-08 14:07:27 -0500
commit913857e57765f6911f171fb2fcd12532d6b6f1df (patch)
tree94b0e1dbef817af084d62730a2cc11020e3a65a0
parent7f6474b269a5cfa454d28c0c0da969490c9eb33e (diff)
downloadgitlab-ce-913857e57765f6911f171fb2fcd12532d6b6f1df.tar.gz
Require comments must be included before code
-rw-r--r--app/assets/javascripts/merge_request_tabs.js3
-rw-r--r--spec/javascripts/spec_helper.js10
2 files changed, 5 insertions, 8 deletions
diff --git a/app/assets/javascripts/merge_request_tabs.js b/app/assets/javascripts/merge_request_tabs.js
index 5316101457c..dcba4a8d275 100644
--- a/app/assets/javascripts/merge_request_tabs.js
+++ b/app/assets/javascripts/merge_request_tabs.js
@@ -264,7 +264,6 @@
});
};
-<<<<<<< a79ff9346b73079148cc4ecc81da82804bb51f3c
MergeRequestTabs.prototype.loadPipelines = function(source) {
if (this.pipelinesLoaded) {
return;
@@ -280,11 +279,9 @@
});
};
-=======
// Show or hide the loading spinner
//
// status - Boolean, true to show, false to hide
->>>>>>> Restore comments lost when converting CoffeeScript to JavaScript
MergeRequestTabs.prototype.toggleLoading = function(status) {
return $('.mr-loading-status .loading').toggle(status);
};
diff --git a/spec/javascripts/spec_helper.js b/spec/javascripts/spec_helper.js
index 9b41242354f..8801c297887 100644
--- a/spec/javascripts/spec_helper.js
+++ b/spec/javascripts/spec_helper.js
@@ -1,8 +1,3 @@
-(function() {
-
-
-}).call(this);
-
// PhantomJS (Teaspoons default driver) doesn't have support for
// Function.prototype.bind, which has caused confusion. Use this polyfill to
// avoid the confusion.
@@ -40,3 +35,8 @@
// instance) you can disable the suite matcher in the configuration and use this
// file as a manifest.
// For more information: http://github.com/modeset/teaspoon
+
+(function() {
+
+
+}).call(this);