]> source.dussan.org Git - sonarqube.git/commitdiff
Clean up
authorStas Vilchik <vilchiks@gmail.com>
Thu, 8 Jan 2015 16:17:25 +0000 (17:17 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 8 Jan 2015 16:17:25 +0000 (17:17 +0100)
server/sonar-web/src/main/coffee/issues/component-viewer/state.coffee [deleted file]
server/sonar-web/src/main/coffee/issues/controller.coffee
server/sonar-web/src/main/js/source-viewer/viewer.js

diff --git a/server/sonar-web/src/main/coffee/issues/component-viewer/state.coffee b/server/sonar-web/src/main/coffee/issues/component-viewer/state.coffee
deleted file mode 100644 (file)
index 8e3b909..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-define [
-  'backbone'
-], (
-  Backbone
-) ->
-
-  class extends Backbone.Model
-
-    defaults:
-      hasSourceBefore: false
-      hasSourceAfter: false
-
index 25ed07e0854facd35c1ea07145d21cdb50686544..52c03f431f9bc33d28e642b01002592877e55c70 100644 (file)
@@ -2,12 +2,10 @@ define [
   'components/navigator/controller'
 
   'issues/component-viewer/main'
-  'issues/component-viewer/state'
 ], (
   Controller
 
   ComponentViewer
-  ComponentViewerState
 ) ->
 
   $ = jQuery
index 3800f3407ec218b1648000a8167883d34bc11126..aa8e14fb41e952a080bf5b2b51b31c7039256126 100644 (file)
@@ -618,7 +618,6 @@ define([
           var sinceDate = moment(date).toDate();
           this.filterLines(function (line) {
             var scmDate = moment(line.scmDate).toDate();
-            console.log(scmDate, sinceDate);
             return scmDate >= sinceDate;
           });
         }