Skip to content

Commit

Permalink
* Fix stupid bug where I wasn't calling super()
Browse files Browse the repository at this point in the history
  • Loading branch information
bnolan committed Nov 23, 2010
1 parent 648e89a commit 09ed600
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions application.coffee
Expand Up @@ -55,6 +55,7 @@ class VenueCollection extends Backbone.Collection
model : Venue model : Venue


constructor: -> constructor: ->
super
@refresh($FOURSQUARE_JSON) @refresh($FOURSQUARE_JSON)


this.Venues = new VenueCollection this.Venues = new VenueCollection
Expand Down
1 change: 1 addition & 0 deletions application.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions backbone.js
Expand Up @@ -103,9 +103,9 @@
*/ */
if (list = calls['all']) { if (list = calls['all']) {
for (i = 0, l = list.length; i < l; i++) { for (i = 0, l = list.length; i < l; i++) {
if(list[i]){ //if(list[i]){
list[i].apply(this, arguments); list[i].apply(this, arguments);
} //}
} }
} }
/* /*
Expand Down

0 comments on commit 09ed600

Please sign in to comment.