Showing the changes to assets/javascripts (2 of 3 files). Show all
Unified · Split
| @@ -65,7 +65,7 @@ class app.views.EntryPage extends app.View · 64 unmodified lines | |||
| 65 | app.views["#{docType[0].toUpperCase()}#{docType[1..]}Page"] or app.views.BasePage | 65 | app.views["#{docType[0].toUpperCase()}#{docType[1..]}Page"] or app.views.BasePage |
| 66 | 66 | ||
| 67 | getTitle: -> | 67 | getTitle: -> |
| 68 | @entry.doc.name + if @entry.isIndex() then '' else "/#{@entry.name}" | 68 | @entry.doc.name + if @entry.isIndex() then ' documentation' else "/#{@entry.name}" |
| 69 | 69 | ||
| 70 | beforeRoute: => | 70 | beforeRoute: => |
| 71 | @abort() | 71 | @abort() |
| @@ -14,7 +14,6 @@ class app.views.Document extends app.View · 13 unmodified lines | |||
| 14 | @addSubview @content = new app.views.Content | 14 | @addSubview @content = new app.views.Content |
| 15 | @addSubview @path = new app.views.Path unless app.isSingleDoc() or app.isMobile() | 15 | @addSubview @path = new app.views.Path unless app.isSingleDoc() or app.isMobile() |
| 16 | 16 | ||
| 17 | @setTitle() | ||
| 18 | @activate() | 17 | @activate() |
| 19 | return | 18 | return |
| 20 | 19 | ||
| @@ -28,7 +27,7 @@ class app.views.Document extends app.View · 7 unmodified lines | |||
| 28 | return | 27 | return |
| 29 | 28 | ||
| 30 | setTitle: (title) -> | 29 | setTitle: (title) -> |
| 31 | @el.title = if title then "DevDocs / #{title}" else 'DevDocs API Documentation' | 30 | @el.title = if title then "DevDocs - #{title}" else 'DevDocs API Documentation' |
| 32 | 31 | ||
| 33 | onHelp: -> | 32 | onHelp: -> |
| 34 | app.router.show '/help#shortcuts' | 33 | app.router.show '/help#shortcuts' |