Showing the changes to assets/javascripts (8 of 11 files). Show all
Unified · Split
| @@ -1,5 +1,8 @@ | |||
| 1 | [ | 1 | [ |
| 2 | [ | 2 | [ |
| 3 | "2018-03-26", | ||
| 4 | "DevDocs is joining the freeCodeCamp community. Read the announcement <a href=\"https://medium.com/@quincylarson/devdocs-is-joining-the-freecodecamp-community-ae185a1c14a6\" target=\"_blank\">here</a>." | ||
| 5 | ], [ | ||
| 3 | "2018-02-04", | 6 | "2018-02-04", |
| 4 | "New documentations: <a href=\"/babel/\">Babel</a>, <a href=\"/jekyll/\">Jekyll</a> and <a href=\"/jsdoc/\">JSDoc</a>" | 7 | "New documentations: <a href=\"/babel/\">Babel</a>, <a href=\"/jekyll/\">Jekyll</a> and <a href=\"/jsdoc/\">JSDoc</a>" |
| 5 | ], [ | 8 | ], [ |
| @@ -7,7 +10,7 @@ · 1 unmodified line | |||
| 7 | "New documentations: <a href=\"/bluebird/\">Bluebird</a>, <a href=\"/eslint/\">ESLint</a> and <a href=\"/homebrew/\">Homebrew</a>" | 10 | "New documentations: <a href=\"/bluebird/\">Bluebird</a>, <a href=\"/eslint/\">ESLint</a> and <a href=\"/homebrew/\">Homebrew</a>" |
| 8 | ], [ | 11 | ], [ |
| 9 | "2017-11-18", | 12 | "2017-11-18", |
| 10 | "Added print & PDF stylesheet.\nFeedback welcome on <a href=\"https://twitter.com/DevDocs\" target=\"_blank\" rel=\"noopener\">Twitter</a> and <a href=\"https://github.com/Thibaut/devdocs\" target=\"_blank\" rel=\"noopener\">GitHub</a>." | 13 | "Added print & PDF stylesheet.\nFeedback welcome on <a href=\"https://twitter.com/DevDocs\" target=\"_blank\" rel=\"noopener\">Twitter</a> and <a href=\"https://github.com/freeCodeCamp/devdocs\" target=\"_blank\" rel=\"noopener\">GitHub</a>." |
| 11 | ], [ | 14 | ], [ |
| 12 | "2017-09-10", | 15 | "2017-09-10", |
| 13 | "<a href=\"/settings\">Preferences</a> can now be exported and imported." | 16 | "<a href=\"/settings\">Preferences</a> can now be exported and imported." |
| @@ -119,7 +122,7 @@ · 105 unmodified lines | |||
| 119 | "New documentations: <a href=\"/q/\">Q</a> and <a href=\"/opentsdb/\">OpenTSDB</a>" | 122 | "New documentations: <a href=\"/q/\">Q</a> and <a href=\"/opentsdb/\">OpenTSDB</a>" |
| 120 | ], [ | 123 | ], [ |
| 121 | "2015-07-26", | 124 | "2015-07-26", |
| 122 | "Added search aliases (e.g. <code class=\"_label\">$</code> is an alias for <code class=\"_label\">jQuery</code>).\n<a href=\"/help#aliases\">Click here</a> to see the full list. Feel free to suggest more on <a href=\"https://github.com/Thibaut/devdocs/issues/new\" target=\"_blank\" rel=\"noopener\">GitHub</a>.", | 125 | "Added search aliases (e.g. <code class=\"_label\">$</code> is an alias for <code class=\"_label\">jQuery</code>).\n<a href=\"/help#aliases\">Click here</a> to see the full list. Feel free to suggest more on <a href=\"https://github.com/freeCodeCamp/devdocs/issues/new\" target=\"_blank\" rel=\"noopener\">GitHub</a>.", |
| 123 | "Added <code class=\"_label\">shift + ↓/↑</code> shortcut for scrolling (same as <code class=\"_label\">alt + ↓/↑</code>)." | 126 | "Added <code class=\"_label\">shift + ↓/↑</code> shortcut for scrolling (same as <code class=\"_label\">alt + ↓/↑</code>)." |
| 124 | ], [ | 127 | ], [ |
| 125 | "2015-07-05", | 128 | "2015-07-05", |
| @@ -160,7 +163,7 @@ · 34 unmodified lines | |||
| 160 | "New <a href=\"/python2/\">Python 2</a> documentation" | 163 | "New <a href=\"/python2/\">Python 2</a> documentation" |
| 161 | ], [ | 164 | ], [ |
| 162 | "2014-11-09", | 165 | "2014-11-09", |
| 163 | "New design\nFeedback welcome on <a href=\"https://twitter.com/DevDocs\" target=\"_blank\" rel=\"noopener\">Twitter</a> and <a href=\"https://github.com/Thibaut/devdocs\" target=\"_blank\" rel=\"noopener\">GitHub</a>." | 166 | "New design\nFeedback welcome on <a href=\"https://twitter.com/DevDocs\" target=\"_blank\" rel=\"noopener\">Twitter</a> and <a href=\"https://github.com/freeCodeCamp/devdocs\" target=\"_blank\" rel=\"noopener\">GitHub</a>." |
| 164 | ], [ | 167 | ], [ |
| 165 | "2014-10-19", | 168 | "2014-10-19", |
| 166 | "New <a href=\"/svg/\">SVG</a>, <a href=\"/marionette/\">Marionette.js</a>, and <a href=\"/mongoose/\">Mongoose</a> documentations" | 169 | "New <a href=\"/svg/\">SVG</a>, <a href=\"/marionette/\">Marionette.js</a>, and <a href=\"/mongoose/\">Mongoose</a> documentations" |
| @@ -245,7 +248,7 @@ · 78 unmodified lines | |||
| 245 | "New <a href=\"/ruby/\">Ruby</a> documentation" | 248 | "New <a href=\"/ruby/\">Ruby</a> documentation" |
| 246 | ], [ | 249 | ], [ |
| 247 | "2013-10-24", | 250 | "2013-10-24", |
| 248 | "DevDocs is now <a href=\"https://github.com/Thibaut/devdocs\">open source</a>." | 251 | "DevDocs is now <a href=\"https://github.com/freeCodeCamp/devdocs\">open source</a>." |
| 249 | ], [ | 252 | ], [ |
| 250 | "2013-10-09", | 253 | "2013-10-09", |
| 251 | "DevDocs is now available as a <a href=\"https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe\">Chrome web app</a>." | 254 | "DevDocs is now available as a <a href=\"https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe\">Chrome web app</a>." |
| @@ -16,7 +16,7 @@ app.templates.notifError = -> · 15 unmodified lines | |||
| 16 | textNotif """ Oops, an error occurred. """, | 16 | textNotif """ Oops, an error occurred. """, |
| 17 | """ Try <a href="#" data-behavior="hard-reload">reloading</a>, and if the problem persists, | 17 | """ Try <a href="#" data-behavior="hard-reload">reloading</a>, and if the problem persists, |
| 18 | <a href="#" data-behavior="reset">resetting the app</a>.<br> | 18 | <a href="#" data-behavior="reset">resetting the app</a>.<br> |
| 19 | You can also report this issue on <a href="https://github.com/Thibaut/devdocs/issues/new" target="_blank" rel="noopener">GitHub</a>. """ | 19 | You can also report this issue on <a href="https://github.com/freeCodeCamp/devdocs/issues/new" target="_blank" rel="noopener">GitHub</a>. """ |
| 20 | 20 | ||
| 21 | app.templates.notifQuotaExceeded = -> | 21 | app.templates.notifQuotaExceeded = -> |
| 22 | textNotif """ The offline database has exceeded its size limitation. """, | 22 | textNotif """ The offline database has exceeded its size limitation. """, |
| @@ -14,23 +14,23 @@ app.templates.aboutPage = -> """ · 13 unmodified lines | |||
| 14 | <p>DevDocs combines multiple API documentations in a clean and organized web UI with instant search, offline support, mobile version, dark theme, keyboard shortcuts, and more. | 14 | <p>DevDocs combines multiple API documentations in a clean and organized web UI with instant search, offline support, mobile version, dark theme, keyboard shortcuts, and more. |
| 15 | <ul> | 15 | <ul> |
| 16 | <li>Created and maintained by <a href="https://thibaut.me">Thibaut Courouble</a> | 16 | <li>Created and maintained by <a href="https://thibaut.me">Thibaut Courouble</a> |
| 17 | <li>Free and <a href="https://github.com/Thibaut/devdocs">open source</a> | 17 | <li>Free and <a href="https://github.com/freeCodeCamp/devdocs">open source</a> |
| 18 | <iframe class="_github-btn" src="https://ghbtns.com/github-btn.html?user=Thibaut&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20" tabindex="-1"></iframe> | 18 | <iframe class="_github-btn" src="https://ghbtns.com/github-btn.html?user=freeCodeCamp&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20" tabindex="-1"></iframe> |
| 19 | </ul> | 19 | </ul> |
| 20 | <p>To keep up-to-date with the latest news: | 20 | <p>To keep up-to-date with the latest news: |
| 21 | <ul> | 21 | <ul> |
| 22 | <li>Follow <a href="https://twitter.com/DevDocs">@DevDocs</a> on Twitter | 22 | <li>Follow <a href="https://twitter.com/DevDocs">@DevDocs</a> on Twitter |
| 23 | <li>Watch the repository on <a href="https://github.com/Thibaut/devdocs/subscription">GitHub</a> | 23 | <li>Watch the repository on <a href="https://github.com/freeCodeCamp/devdocs/subscription">GitHub</a> |
| 24 | <li>Join the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a> | 24 | <li>Join the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a> |
| 25 | </ul> | 25 | </ul> |
| 26 | 26 | ||
| 27 | <h2 class="_block-heading" id="copyright">Copyright and License</h2> | 27 | <h2 class="_block-heading" id="copyright">Copyright and License</h2> |
| 28 | <p class="_note"> | 28 | <p class="_note"> |
| 29 | <strong>Copyright 2013–2018 Thibaut Courouble and <a href="https://github.com/Thibaut/devdocs/graphs/contributors">other contributors</a></strong><br> | 29 | <strong>Copyright 2013–2018 Thibaut Courouble and <a href="https://github.com/freeCodeCamp/devdocs/graphs/contributors">other contributors</a></strong><br> |
| 30 | This software is licensed under the terms of the Mozilla Public License v2.0.<br> | 30 | This software is licensed under the terms of the Mozilla Public License v2.0.<br> |
| 31 | You may obtain a copy of the source code at <a href="https://github.com/Thibaut/devdocs">github.com/Thibaut/devdocs</a>.<br> | 31 | You may obtain a copy of the source code at <a href="https://github.com/freeCodeCamp/devdocs">github.com/freeCodeCamp/devdocs</a>.<br> |
| 32 | For more information, see the <a href="https://github.com/Thibaut/devdocs/blob/master/COPYRIGHT">COPYRIGHT</a> | 32 | For more information, see the <a href="https://github.com/freeCodeCamp/devdocs/blob/master/COPYRIGHT">COPYRIGHT</a> |
| 33 | and <a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files. | 33 | and <a href="https://github.com/freeCodeCamp/devdocs/blob/master/LICENSE">LICENSE</a> files. |
| 34 | 34 | ||
| 35 | <h2 class="_block-heading" id="plugins">Plugins and Extensions</h2> | 35 | <h2 class="_block-heading" id="plugins">Plugins and Extensions</h2> |
| 36 | <ul> | 36 | <ul> |
| @@ -47,10 +47,10 @@ app.templates.aboutPage = -> """ · 10 unmodified lines | |||
| 47 | <dl> | 47 | <dl> |
| 48 | <dt>Where can I suggest new docs and features? | 48 | <dt>Where can I suggest new docs and features? |
| 49 | <dd>You can suggest and vote for new docs on the <a href="https://trello.com/b/6BmTulfx/devdocs-documentation">Trello board</a>.<br> | 49 | <dd>You can suggest and vote for new docs on the <a href="https://trello.com/b/6BmTulfx/devdocs-documentation">Trello board</a>.<br> |
| 50 | If you have a specific feature request, add it to the <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a>.<br> | 50 | If you have a specific feature request, add it to the <a href="https://github.com/freeCodeCamp/devdocs/issues">issue tracker</a>.<br> |
| 51 | Otherwise use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>. | 51 | Otherwise use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>. |
| 52 | <dt>Where can I report bugs? | 52 | <dt>Where can I report bugs? |
| 53 | <dd>In the <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a>. Thanks! | 53 | <dd>In the <a href="https://github.com/freeCodeCamp/devdocs/issues">issue tracker</a>. Thanks! |
| 54 | </dl> | 54 | </dl> |
| 55 | <p>For anything else, feel free to email me at <a href="mailto:thibaut@devdocs.io">thibaut@devdocs.io</a>. | 55 | <p>For anything else, feel free to email me at <a href="mailto:thibaut@devdocs.io">thibaut@devdocs.io</a>. |
| 56 | 56 | ||
| @@ -151,5 +151,5 @@ app.templates.helpPage = -> · 150 unmodified lines | |||
| 151 | #{("<tr><td class=\"_code\">#{key}<td class=\"_code\">#{value}" for key, value of aliases_two).join('')} | 151 | #{("<tr><td class=\"_code\">#{key}<td class=\"_code\">#{value}" for key, value of aliases_two).join('')} |
| 152 | </table> | 152 | </table> |
| 153 | </div> | 153 | </div> |
| 154 | <p>Feel free to suggest new aliases on <a href="https://github.com/Thibaut/devdocs/issues/new">GitHub</a>. | 154 | <p>Feel free to suggest new aliases on <a href="https://github.com/freeCodeCamp/devdocs/issues/new">GitHub</a>. |
| 155 | """ | 155 | """ |
| @@ -4,7 +4,7 @@ app.templates.newsPage = -> · 3 unmodified lines | |||
| 4 | """ <h1 class="_lined-heading">Changelog</h1> | 4 | """ <h1 class="_lined-heading">Changelog</h1> |
| 5 | <p class="_note"> | 5 | <p class="_note"> |
| 6 | For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.<br> | 6 | For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.<br> |
| 7 | For development updates, follow the project on <a href="https://github.com/Thibaut/devdocs">GitHub</a>. | 7 | For development updates, follow the project on <a href="https://github.com/freeCodeCamp/devdocs">GitHub</a>. |
| 8 | <div class="_news">#{app.templates.newsList app.news}</div> """ | 8 | <div class="_news">#{app.templates.newsList app.news}</div> """ |
| 9 | 9 | ||
| 10 | app.templates.newsList = (news, options = {}) -> | 10 | app.templates.newsList = (news, options = {}) -> |
| @@ -32,7 +32,7 @@ app.templates.offlinePage = (docs) -> """ · 31 unmodified lines | |||
| 32 | <dt>What if I don't update a documentation? | 32 | <dt>What if I don't update a documentation? |
| 33 | <dd>You'll see outdated content and some pages will be missing or broken, because the rest of the app (including data for the search and sidebar) uses a different caching mechanism that's updated automatically. | 33 | <dd>You'll see outdated content and some pages will be missing or broken, because the rest of the app (including data for the search and sidebar) uses a different caching mechanism that's updated automatically. |
| 34 | <dt>I found a bug, where do I report it? | 34 | <dt>I found a bug, where do I report it? |
| 35 | <dd>In the <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a>. Thanks! | 35 | <dd>In the <a href="https://github.com/freeCodeCamp/devdocs/issues">issue tracker</a>. Thanks! |
| 36 | <dt>How do I uninstall/reset the app? | 36 | <dt>How do I uninstall/reset the app? |
| 37 | <dd>Click <a href="#" data-behavior="reset">here</a>. | 37 | <dd>Click <a href="#" data-behavior="reset">here</a>. |
| 38 | <dt>Why aren't all documentations listed above? | 38 | <dt>Why aren't all documentations listed above? |
| @@ -12,13 +12,13 @@ app.templates.intro = """ · 11 unmodified lines | |||
| 12 | <li>Run <code>thor docs:list</code> to see all available documentations. | 12 | <li>Run <code>thor docs:list</code> to see all available documentations. |
| 13 | <li>Run <code>thor docs:download <name></code> to download documentations. | 13 | <li>Run <code>thor docs:download <name></code> to download documentations. |
| 14 | <li>Run <code>thor docs:download --installed</code> to update all downloaded documentations. | 14 | <li>Run <code>thor docs:download --installed</code> to update all downloaded documentations. |
| 15 | <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. | 15 | <li>To be notified about new versions, don't forget to <a href="https://github.com/freeCodeCamp/devdocs/subscription">watch the repository</a> on GitHub. |
| 16 | <li>The <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a> is the preferred channel for bug reports and | 16 | <li>The <a href="https://github.com/freeCodeCamp/devdocs/issues">issue tracker</a> is the preferred channel for bug reports and |
| 17 | feature requests. For everything else, use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>. | 17 | feature requests. For everything else, use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>. |
| 18 | <li>Contributions are welcome. See the <a href="https://github.com/Thibaut/devdocs/blob/master/CONTRIBUTING.md">guidelines</a>. | 18 | <li>Contributions are welcome. See the <a href="https://github.com/freeCodeCamp/devdocs/blob/master/CONTRIBUTING.md">guidelines</a>. |
| 19 | <li>DevDocs is licensed under the terms of the Mozilla Public License v2.0. For more information, | 19 | <li>DevDocs is licensed under the terms of the Mozilla Public License v2.0. For more information, |
| 20 | see the <a href="https://github.com/Thibaut/devdocs/blob/master/COPYRIGHT">COPYRIGHT</a> and | 20 | see the <a href="https://github.com/freeCodeCamp/devdocs/blob/master/COPYRIGHT">COPYRIGHT</a> and |
| 21 | <a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files. | 21 | <a href="https://github.com/freeCodeCamp/devdocs/blob/master/LICENSE">LICENSE</a> files. |
| 22 | </ol> | 22 | </ol> |
| 23 | <p>Happy coding! | 23 | <p>Happy coding! |
| 24 | </div></div> | 24 | </div></div> |
| @@ -38,8 +38,8 @@ app.templates.intro = """ · 13 unmodified lines | |||
| 38 | <li>You can search using your browser's address bar — <a href="/help#browser_search">learn how</a>. | 38 | <li>You can search using your browser's address bar — <a href="/help#browser_search">learn how</a>. |
| 39 | <li>DevDocs works <a href="/offline">offline</a>, on mobile, and can be installed on <a href="https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe">Chrome</a>. | 39 | <li>DevDocs works <a href="/offline">offline</a>, on mobile, and can be installed on <a href="https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe">Chrome</a>. |
| 40 | <li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>. | 40 | <li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>. |
| 41 | <li>DevDocs is free and <a href="https://github.com/Thibaut/devdocs">open source</a>. | 41 | <li>DevDocs is free and <a href="https://github.com/freeCodeCamp/devdocs">open source</a>. |
| 42 | <iframe class="_github-btn" src="//ghbtns.com/github-btn.html?user=Thibaut&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe> | 42 | <iframe class="_github-btn" src="//ghbtns.com/github-btn.html?user=freeCodeCamp&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe> |
| 43 | <li>And if you're new to coding, check out <a href="https://www.freecodecamp.org/">freeCodeCamp's open source curriculum</a>. | 43 | <li>And if you're new to coding, check out <a href="https://www.freecodecamp.org/">freeCodeCamp's open source curriculum</a>. |
| 44 | </ol> | 44 | </ol> |
| 45 | <p>Happy coding! | 45 | <p>Happy coding! |
| @@ -57,7 +57,7 @@ app.templates.mobileIntro = """ · 11 unmodified lines | |||
| 57 | <li>The search supports fuzzy matching. | 57 | <li>The search supports fuzzy matching. |
| 58 | <li>To search a specific documentation, type its name (or an abbr.), then Space. | 58 | <li>To search a specific documentation, type its name (or an abbr.), then Space. |
| 59 | <li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>. | 59 | <li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>. |
| 60 | <li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a>. | 60 | <li>DevDocs is <a href="https://github.com/freeCodeCamp/devdocs">open source</a>. |
| 61 | </ol> | 61 | </ol> |
| 62 | <p>Happy coding! | 62 | <p>Happy coding! |
| 63 | <a class="_intro-hide" data-hide-intro>Stop showing this message</a> | 63 | <a class="_intro-hide" data-hide-intro>Stop showing this message</a> |
| @@ -50,7 +50,7 @@ class app.views.Resizer extends app.View · 49 unmodified lines | |||
| 50 | onDragEnd: (event) => | 50 | onDragEnd: (event) => |
| 51 | $.off(window, 'dragover', @onDrag) | 51 | $.off(window, 'dragover', @onDrag) |
| 52 | value = event.pageX or (event.screenX - window.screenX) | 52 | value = event.pageX or (event.screenX - window.screenX) |
| 53 | if @lastDragValue and not (@lastDragValue - 5 < value < @lastDragValue + 5) # https://github.com/Thibaut/devdocs/issues/265 | 53 | if @lastDragValue and not (@lastDragValue - 5 < value < @lastDragValue + 5) # https://github.com/freeCodeCamp/devdocs/issues/265 |
| 54 | value = @lastDragValue | 54 | value = @lastDragValue |
| 55 | @resize(value, true) | 55 | @resize(value, true) |
| 56 | return | 56 | return |