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 | 65 | app.views["#{docType[0].toUpperCase()}#{docType[1..]}Page"] or app.views.BasePage |
| 66 | 66 | |
| 67 | 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 | 70 | beforeRoute: => |
| 71 | 71 | @abort() |
| @@ -14,7 +14,6 @@ class app.views.Document extends app.View · 13 unmodified lines | ||
| 14 | 14 | @addSubview @content = new app.views.Content |
| 15 | 15 | @addSubview @path = new app.views.Path unless app.isSingleDoc() or app.isMobile() |
| 16 | 16 | |
| 17 | − @setTitle() | |
| 18 | 17 | @activate() |
| 19 | 18 | return |
| 20 | 19 | |
| @@ -28,7 +27,7 @@ class app.views.Document extends app.View · 7 unmodified lines | ||
| 28 | 27 | return |
| 29 | 28 | |
| 30 | 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 | 32 | onHelp: -> |
| 34 | 33 | app.router.show '/help#shortcuts' |