aboutsummaryrefslogtreecommitdiffstats
path: root/guides/assets/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Use Turbolinks in Rails guidesYoshiyuki Hirano2018-04-233-13/+36
|
* Refactor guides javascriptsYoshiyuki Hirano2018-04-232-26/+34
| | | | | * 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-213-86/+82
| | | | | * Rewrite with Vanilla JS * Confirmed with Chrome, Safari, Firefox
* - Update Syntax Highlighter to version 4.Vipul A M2016-07-0328-1673/+20
| | | | | | | | | | | | - 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
* Change permission to readonlySatoshi Ohmori2016-01-231-0/+0
| | | | | | changed from 755 to 644. I executed `chmod -x guides/assets/javascripts/responsive-tables.js`. [ci skip]
* 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] Format content for small devicesJoe Fiorini2012-10-061-0/+43
|
* [Guides] Navigation styling for small devicesJoe Fiorini2012-10-062-0/+54
|
* moves the guides up to the root directoryXavier Noria2012-03-1727-0/+1674