From e6ec57cc638b63e9a0462c1ad222953e4f7eafa9 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Tue, 24 Jan 2017 21:39:01 -0800 Subject: stop the ui.js from console.logging all that debug stuff --- static/ui.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'static') diff --git a/static/ui.js b/static/ui.js index 5ab79ea..d9b9543 100644 --- a/static/ui.js +++ b/static/ui.js @@ -273,9 +273,9 @@ var ItemCollection = Backbone.Collection.extend({ App.set('selectedIndex', 0); } }); - console.log("items ", items) + // console.log("items ", items) if(items.length == 0) { - console.log("no more items"); + // console.log("no more items"); App.noMore = true; App.loading = true; } @@ -440,8 +440,8 @@ var FeedCollection = Backbone.Collection.extend({ url: '/feed/', initialize: function() { - /// _.bindAll(this, 'boot'); - console.log('initialized'); + /// _.bindAll(this, 'boot'); + //console.log('initialized'); }, }); App.feeds = new FeedCollection(); @@ -481,16 +481,16 @@ var FeedListView = Backbone.View.extend( { App.feeds.bind('change', this.render); }, addOne: function(feed) { - console.log('adding a feed...', feed); + // console.log('adding a feed...', feed); var view = new FeedView({'model': feed}); this.$el.append(view.render().el); }, addAll: function() { - console.log('feed add all...'); + // console.log('feed add all...'); App.feeds.each(this.addOne); }, change: function() { - console.log('feeds changed add all...'); + // console.log('feeds changed add all...'); }, render: function() { }, -- cgit v1.2.3