Explorar el Código

Removed sorting comparator, default seems better

Taddeus Kroes hace 12 años
padre
commit
75f308be28
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)