History

Add doc/type pages to the search index

Closes #55.

Thibaut committed 12 years ago

Commit 32906bc1 parent 68b29113 files · +14 −2Browse files

Showing the changes to assets/javascripts/app (1 of 3 files). Show all

Unified · Split

assets/javascripts/app/app.coffee+4−1
@@ -71,7 +71,10 @@ · 70 unmodified lines
71 return71 return
72 72
73 start: ->73 start: ->
74 @entries.add doc.entries.all() for doc in @docs.all()74 for doc in @docs.all()
75 @entries.add doc.toEntry()
76 @entries.add type.toEntry() for type in doc.types.all()
77 @entries.add doc.entries.all()
75 @trigger 'ready'78 @trigger 'ready'
76 @router.start()79 @router.start()
77 @hideLoading()80 @hideLoading()