History

Encode ellipsis character

Closes #29

Thibaut committed 12 years ago

Commit ba036841 parent 3cd53734 files · +5 −5Browse files

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

Unified · Split

3 files
  1. assets/javascripts/templates/pages/help_tmpl.coffee +1 −1
  2. assets/javascripts/templates/sidebar_tmpl.coffee +1 −1
  3. assets/javascripts/views/sidebar/doc_picker.coffee +2 −2
assets/javascripts/templates/pages/help_tmpl.coffee+1−1
@@ -32,7 +32,7 @@ app.templates.helpPage = """ · 31 unmodified lines
3232 DevDocs supports OpenSearch, meaning it can easily be installed as a search engine on most web browsers.
3333 <ul>
3434 <li>On Chrome, the setup is done automatically. Simply press <code class="_label">Tab</code> when devdocs.io is autocompleted
35− in the omnibox (to set a custom keyword, click <em>Manage search engines…</em> in Chrome's settings).
35+ in the omnibox (to set a custom keyword, click <em>Manage search engines\u2026</em> in Chrome's settings).
3636 <li>On Firefox, open the search engine list (icon in the search bar) and select <em>Add "DevDocs Search"</em>.
3737 DevDocs is now available in the search bar. You can also search from the location bar by following
3838 <a href="https://support.mozilla.org/en-US/kb/search-bar-easily-choose-your-search-engine#w_keywords">these instructions</a>.
assets/javascripts/templates/sidebar_tmpl.coffee+1−1
@@ -18,7 +18,7 @@ templates.sidebarResult = (entry) -> · 17 unmodified lines
1818 """<a href="#{entry.fullPath()}" class="_list-item _list-hover _list-result _icon-#{entry.doc.slug}"><span class="_list-reveal" data-reset-list title="Reveal in list"></span>#{$.escape entry.name}</a>"""
1919
2020 templates.sidebarPageLink = (count) ->
21− """<span class="_list-item _list-pagelink">Show more… (#{count})</span>"""
21+ """<span class="_list-item _list-pagelink">Show more\u2026 (#{count})</span>"""
2222
2323 templates.sidebarLabel = (doc, options = {}) ->
2424 label = """<label class="_list-item _list-label _icon-#{doc.slug}"""
assets/javascripts/views/sidebar/doc_picker.coffee+2−2
@@ -44,7 +44,7 @@ class app.views.DocPicker extends app.View · 43 unmodified lines
4444 unless @saving
4545 @saving = true
4646 app.settings.setDocs @getSelectedDocs()
47− @saveLink.textContent = if app.appCache then 'Downloading…' else 'Saving…'
47+ @saveLink.textContent = if app.appCache then 'Downloading\u2026' else 'Saving\u2026'
4848 app.reload()
4949 return
5050
@@ -65,5 +65,5 @@ class app.views.DocPicker extends app.View · 14 unmodified lines
6565 onAppCacheProgress: (event) =>
6666 if event.lengthComputable
6767 percentage = Math.round event.loaded * 100 / event.total
68− @saveLink.textContent = "Downloading… (#{percentage}%)"
68+ @saveLink.textContent = "Downloading\u2026 (#{percentage}%)"
6969 return