From b8d16441363d8d4805dc7067fe5f84a8c79d4fd2 Mon Sep 17 00:00:00 2001 From: Tim Branyen Date: Sun, 7 Oct 2012 17:34:01 -0400 Subject: [PATCH] renamed serialize to data --- app/modules/commit.js | 2 +- app/modules/repo.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/modules/commit.js b/app/modules/commit.js index 9504dde..e276ebe 100644 --- a/app/modules/commit.js +++ b/app/modules/commit.js @@ -50,7 +50,7 @@ function(app, Backbone) { tagName: "tr", - serialize: function() { + data: function() { return { model: this.model, repo: this.options.repo, diff --git a/app/modules/repo.js b/app/modules/repo.js index 9f84796..261bf8e 100644 --- a/app/modules/repo.js +++ b/app/modules/repo.js @@ -45,7 +45,7 @@ function(app, Backbone, Commit) { tagName: "li", - serialize: function() { + data: function() { return { model: this.model }; }, @@ -81,7 +81,7 @@ function(app, Backbone, Commit) { className: "repos-wrapper", - serialize: function() { + data: function() { return { count: this.options.repos.length };