Removes pointless logging.
authorDavid Schoonover <dsc@wikimedia.org>
Fri, 22 Jun 2012 02:55:20 +0000 (19:55 -0700)
committerDavid Schoonover <dsc@wikimedia.org>
Fri, 22 Jun 2012 02:55:20 +0000 (19:55 -0700)
lib/app.co
lib/data/datasource-model.co
lib/graph/graph-edit-view.co
lib/graph/graph-model.co

index 58e16ad..a4185b0 100644 (file)
@@ -25,7 +25,6 @@ AppView = exports.AppView = Backbone.View.extend do # {{{
         
         @appSelector = that if options.appSelector
         options.el or= jQuery @appSelector .0
-        console.log "new #this", options
         Backbone.View.call this, options
         
         jQuery ~> @render()
index 1d9dea2..544af94 100644 (file)
@@ -126,7 +126,7 @@ DataSource = exports.DataSource = BaseModel.extend do # {{{
         this
     
     onLoadDataSuccess: (@data) ->
-        console.log "#this.onLoadDataSuccess #{@data}"
+        # console.log "#this.onLoadDataSuccess #{@data}"
         @unwait()
         @trigger 'load-data-success', this
         @triggerReady()
index 97d220d..56c0bb2 100644 (file)
@@ -81,7 +81,6 @@ GraphEditView = exports.GraphEditView = GraphView.extend do # {{{
     
     onReady: ->
         return if @ready
-        console.log "(#this via GraphEditView).ready!"
         @unwait() # clears `wait()` from `initialize`
         @model.chartType.on 'ready', @onChartTypeReady
         @triggerReady()
index e72ca89..a67c57a 100644 (file)
@@ -114,7 +114,7 @@ Graph = exports.Graph = BaseModel.extend do # {{{
     
     load: (opts={}) ->
         return this if (@loading or @ready) and not opts.force
-        console.log "#this.load()..."
+        # console.log "#this.load()..."
         @loading = true
         @wait()
         @trigger 'load', this
@@ -168,7 +168,7 @@ Graph = exports.Graph = BaseModel.extend do # {{{
         unless @dataset.metrics.length
             return @triggerReady 'dataReady', 'data-ready'
         
-        console.log "#this.loadData()..."
+        # console.log "#this.loadData()..."
         @wait()
         @loading = true
         @trigger 'load-data', this
@@ -181,7 +181,7 @@ Graph = exports.Graph = BaseModel.extend do # {{{
                     return next.ok()
                 metric.source.once 'load-data-success', next.ok .loadData()
             .seq ~>
-                console.log "#{this}.loadData() complete!"
+                # console.log "#{this}.loadData() complete!"
                 @loading = false
                 @unwait() # terminates the `load` wait
                 @triggerReady 'dataReady', 'data-ready'
@@ -191,7 +191,7 @@ Graph = exports.Graph = BaseModel.extend do # {{{
         @dataset.getData()
     
     onDataSetChange: ->
-        console.log "#this.onDataSetChange!"
+        # console.log "#this.onDataSetChange!"
         # @set 'data', @dataset, {+silent}
         # @trigger 'change:data', this, @dataset, 'data'
         @trigger 'change',      this, @dataset, 'data'