aboutsummaryrefslogtreecommitdiffstats
path: root/guides/assets/javascripts/guides.js
Commit message (Collapse)AuthorAgeFilesLines
* Use Turbolinks in Rails guidesYoshiyuki Hirano2018-04-231-2/+23
|
* Refactor guides javascriptsYoshiyuki Hirano2018-04-231-17/+18
| | | | | * Remove `$` prefix from all variables (`$` prefix means jQuery object) * Old browsers doesn't support forEach. So use for instead of forEach.
* :scissors: jQuery for Rails GuidesYoshiyuki Hirano2018-04-211-45/+45
| | | | | * Rewrite with Vanilla JS * Confirmed with Chrome, Safari, Firefox
* - Update Syntax Highlighter to version 4.Vipul A M2016-07-031-6/+0
| | | | | | | | | | | | - Build Syntax Highlighter based on https://github.com/syntaxhighlighter/syntaxhighlighter/wiki/Building and use theme generated by fxn. - This also bundles these brushes in the file itself- ruby,css,xml,sql,javascript,plain. Generation command used: gulp build --compat --brushes=javascript,ruby,xml,sql,plain --theme=/Path/To/RailsSource/rails/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css - rm all old js and css files - Moved over how JS configuration is created for Syntax Highlighter - Fixed layout for all imports - Fixes bug with old copy paste, generating wrong space character on webkit https://github.com/syntaxhighlighter/syntaxhighlighter/blob/7caa9632e7fe470d944fc06b4db7d35352ebaa36/src/dom.js#L227 Fixes #25655
* Disable autolink in example code blocks in guides.Juanito Fatas2014-06-241-0/+6
| | | | | | | | | | | | /cc @chancancode @robin850 configuration reference: http://alexgorbatchev.com/SyntaxHighlighter/manual/configuration/ Related issues: * https://github.com/vmg/redcarpet/issues/334 * https://github.com/docrails-tw/guides/issues/62
* Improve js written for guidesRyunosuke SATO2013-06-251-34/+30
| | | | | | | * Stop using unnecessary global variable * Use function defined by jQuery for simplicity * Fix event listner for "more info button" to handle event on resize browser
* [Guides] Navigation styling for small devicesJoe Fiorini2012-10-061-0/+50
|
* moves the guides up to the root directoryXavier Noria2012-03-171-0/+7