Skip to content

Commit

Permalink
renamed serialize to data
Browse files Browse the repository at this point in the history
  • Loading branch information
tbranyen committed Oct 7, 2012
1 parent 69c2b34 commit b8d1644
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/modules/commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function(app, Backbone) {

tagName: "tr",

serialize: function() {
data: function() {
return {
model: this.model,
repo: this.options.repo,
Expand Down
4 changes: 2 additions & 2 deletions app/modules/repo.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function(app, Backbone, Commit) {

tagName: "li",

serialize: function() {
data: function() {
return { model: this.model };
},

Expand Down Expand Up @@ -81,7 +81,7 @@ function(app, Backbone, Commit) {

className: "repos-wrapper",

serialize: function() {
data: function() {
return {
count: this.options.repos.length
};
Expand Down

0 comments on commit b8d1644

Please sign in to comment.