diff --git a/app/assets/javascripts/merge_request_tabs.js b/app/assets/javascripts/merge_request_tabs.js index 5316101457cf383cb732af21ca85878cc9ccf515..dcba4a8d27561df78b42892cab48af20a11d171f 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 9b41242354f35cce1dac0e4675ba9c17b0203c22..8801c29788700419fc6d254c65a1e8f17f95fae7 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);