| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Remove `$` prefix from all variables (`$` prefix means jQuery object)
* Old browsers doesn't support forEach. So use for instead of forEach.
|
|
|
|
|
| |
* Rewrite with Vanilla JS
* Confirmed with Chrome, Safari, Firefox
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
/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
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|