aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/coffee/component-viewer/popup.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/coffee/component-viewer/popup.coffee')
-rw-r--r--server/sonar-web/src/main/coffee/component-viewer/popup.coffee35
1 files changed, 0 insertions, 35 deletions
diff --git a/server/sonar-web/src/main/coffee/component-viewer/popup.coffee b/server/sonar-web/src/main/coffee/component-viewer/popup.coffee
deleted file mode 100644
index 939180e37be..00000000000
--- a/server/sonar-web/src/main/coffee/component-viewer/popup.coffee
+++ /dev/null
@@ -1,35 +0,0 @@
-define [
- 'backbone.marionette'
-], (
- Marionette
-) ->
-
- $ = jQuery
-
-
- class CoveragePopupView extends Marionette.ItemView
- className: 'component-viewer-popup'
-
-
- onRender: ->
- @$el.detach().appendTo $('body')
-
- if @options.bottom
- @$el.addClass 'component-viewer-popup-bottom'
- @$el.css
- top: @options.triggerEl.offset().top + @options.triggerEl.outerHeight()
- left: @options.triggerEl.offset().left
- else if @options.bottomRight
- @$el.addClass 'component-viewer-popup-bottom-right'
- @$el.css
- top: @options.triggerEl.offset().top + @options.triggerEl.outerHeight()
- right: $(window).width() - @options.triggerEl.offset().left - @options.triggerEl.outerWidth()
- else
- @$el.css
- top: @options.triggerEl.offset().top
- left: @options.triggerEl.offset().left + @options.triggerEl.outerWidth()
-
-
- $('body').on 'click.coverage-popup', =>
- $('body').off 'click.coverage-popup'
- @close() \ No newline at end of file