Parcourir la source

Removed sorting comparator, default seems better

Taddeus Kroes il y a 12 ans
Parent
commit
75f308be28
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      guide.coffee

+ 1 - 1
guide.coffee

@@ -44,7 +44,7 @@ Program = Backbone.Model.extend(
 
 ChannelList = Backbone.Collection.extend(
     model: Channel
-    comparator: (a, b) -> parseInt(a.get('id')) - parseInt(b.get('id'))
+    #comparator: (a, b) -> parseInt(a.get('id')) - parseInt(b.get('id'))
 
     fetch: ->
         @reset(CHANNELS)