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
7171 return
7272
7373 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()
7578 @trigger 'ready'
7679 @router.start()
7780 @hideLoading()