Don't sort already-sorted docs on boot

pull/385/merge
Thibaut Courouble 8 years ago
parent ecb56f1e97
commit 97dbb2afde

@ -92,8 +92,6 @@
for doc in @DOCS
(if docs.indexOf(doc.slug) >= 0 then @docs else @disabledDocs).add(doc)
@migrateDocs()
@docs.sort()
@disabledDocs.sort()
@docs.load @start.bind(@), @onBootError.bind(@), readCache: true, writeCache: true
delete @DOCS
return

Loading…
Cancel
Save