aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-01-24 21:39:01 -0800
committerAdam Mathes <adam@trenchant.org>2017-01-24 21:39:01 -0800
commite6ec57cc638b63e9a0462c1ad222953e4f7eafa9 (patch)
treed1bff54b5eb566e9b13362dcc6d6f312a0ebb394 /static
parent27c88be8c573db005c7b947e5120af5feec9c1cb (diff)
downloadneko-e6ec57cc638b63e9a0462c1ad222953e4f7eafa9.tar.gz
neko-e6ec57cc638b63e9a0462c1ad222953e4f7eafa9.tar.bz2
neko-e6ec57cc638b63e9a0462c1ad222953e4f7eafa9.zip
stop the ui.js from console.logging all that debug stuff
Diffstat (limited to 'static')
-rw-r--r--static/ui.js14
1 files changed, 7 insertions, 7 deletions
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() {
},