Showing the changes to assets/javascripts (4 of 29 files). Show all
Unified · Split
| @@ -33,7 +33,11 @@ newsItem = (date, news) -> · 32 unmodified lines | ||
| 33 | 33 | result |
| 34 | 34 | |
| 35 | 35 | app.news = [ |
| 36 | − [ 1413676800000, # October 19, 2014 | |
| 36 | + [ 1415491200000, # November 9, 2014 | |
| 37 | + """ New design | |
| 38 | + Feedback welcome on <a href="https://twitter.com/DevDocs" target="_blank">Twitter</a> and <a href="https://github.com/Thibaut/devdocs" target="_blank">GitHub</a>. """ | |
| 39 | + ], [ | |
| 40 | + 1413676800000, # October 19, 2014 | |
| 37 | 41 | """ New <a href="/svg/">SVG</a>, <a href="/marionette/">Marionette.js</a>, and <a href="/mongoose/">Mongoose</a> documentations """, |
| 38 | 42 | ], [ |
| 39 | 43 | 1413590400000, # October 18, 2014 |
| @@ -13,8 +13,8 @@ app.templates.intro = """ · 12 unmodified lines | ||
| 13 | 13 | <ol class="_intro-list"> |
| 14 | 14 | <li>Your local version of DevDocs won't self-update. Unless you're offline or modifying the code, |
| 15 | 15 | I recommend using the hosted version at <a href="http://devdocs.io">devdocs.io</a>. |
| 16 | − <li>Run <code class="_label">thor docs:list</code> to see all available documentations. | |
| 17 | − <li>Run <code class="_label">thor docs:download --all</code> to download/update all documentations. | |
| 16 | + <li>Run <code>thor docs:list</code> to see all available documentations. | |
| 17 | + <li>Run <code>thor docs:download --all</code> to download/update all documentations. | |
| 18 | 18 | <li>To be notified about new versions, don't forget to <a href="https://github.com/Thibaut/devdocs/subscription">watch the repository</a> on GitHub. |
| 19 | 19 | <li>The <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a> is the preferred channel for bug reports and |
| 20 | 20 | feature requests. For everything else, use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>. |
| @@ -49,7 +49,7 @@ class app.views.SearchScope extends app.View · 48 unmodified lines | ||
| 49 | 49 | |
| 50 | 50 | @input.removeAttribute 'placeholder' |
| 51 | 51 | @input.value = @input.value[@input.selectionStart..] |
| 52 | − @input.style.paddingLeft = @tag.offsetWidth + 6 + 'px' | |
| 52 | + @input.style.paddingLeft = @tag.offsetWidth + 10 + 'px' | |
| 53 | 53 | $.trigger @input, 'input' |
| 54 | 54 | |
| 55 | 55 | reset: => |
| @@ -59,7 +59,7 @@ class app.views.SidebarHover extends app.View · 58 unmodified lines | ||
| 59 | 59 | el.classList.contains 'active' |
| 60 | 60 | |
| 61 | 61 | isTruncated: (el) -> |
| 62 | − el.scrollWidth >= el.offsetWidth | |
| 62 | + el.scrollWidth > el.offsetWidth | |
| 63 | 63 | |
| 64 | 64 | onFocus: (event) => |
| 65 | 65 | @focusTime = Date.now() |