History

Don't sort already-sorted docs on boot

Thibaut Courouble committed 9 years ago

Commit 97dbb2a1 parent ecb56f11 file · +0 −2Browse files

Showing the changes to assets/javascripts (1 of 1 file). Show all

Unified · Split

assets/javascripts/app/app.coffee+0−2
@@ -92,8 +92,6 @@ · 91 unmodified lines
92 for doc in @DOCS92 for doc in @DOCS
93 (if docs.indexOf(doc.slug) >= 0 then @docs else @disabledDocs).add(doc)93 (if docs.indexOf(doc.slug) >= 0 then @docs else @disabledDocs).add(doc)
94 @migrateDocs()94 @migrateDocs()
95 @docs.sort()
96 @disabledDocs.sort()
97 @docs.load @start.bind(@), @onBootError.bind(@), readCache: true, writeCache: true95 @docs.load @start.bind(@), @onBootError.bind(@), readCache: true, writeCache: true
98 delete @DOCS96 delete @DOCS
99 return97 return