Permalink
Browse files

Remove debugging output

  • Loading branch information...
1 parent f0158db commit 02c9d3ca61c96589ed6b5d7a387fe755e13184bb @evdb evdb committed Dec 24, 2012
Showing with 2 additions and 8 deletions.
  1. +2 −8 public/js/app.js
View
@@ -19,9 +19,6 @@
render: function () {
- console.log("BookView render");
- console.log(this.model.url());
-
var data = this.model ? this.model.toJSON() : {};
var content = _.template(
@@ -40,11 +37,10 @@
},
isbnDisplay: function (isbn) {
- console.log("isbn router: " + isbn);
-
+
var model = new BookModel({ id: isbn });
-
var view = new BookView({ model: model });
+
view.render();
model.fetch();
}
@@ -62,8 +58,6 @@
var isbn = this.$("input[name=isbn]").val();
- console.log("doing a search for " + isbn);
-
appRouter.navigate("isbn/" + isbn, {trigger: true});
}
});

0 comments on commit 02c9d3c

Please sign in to comment.