File tree Expand file tree Collapse file tree 5 files changed +29
-22
lines changed
Expand file tree Collapse file tree 5 files changed +29
-22
lines changed Original file line number Diff line number Diff line change 1+ $ ( function ( ) {
2+ $ ( "[data-toggle='tooltip']" ) . tooltip ( ) ;
3+ } ) ;
Original file line number Diff line number Diff line change 1+ import hljs from 'highlight.js/lib/core' ;
2+
3+ // Selection of common languages to limit bundle size
4+ import javascript from 'highlight.js/lib/languages/javascript' ;
5+ import python from 'highlight.js/lib/languages/python' ;
6+ import java from 'highlight.js/lib/languages/java' ;
7+ import bash from 'highlight.js/lib/languages/bash' ;
8+ import xml from 'highlight.js/lib/languages/xml' ;
9+ import cpp from 'highlight.js/lib/languages/cpp' ;
10+ import c from 'highlight.js/lib/languages/c' ;
11+
12+ hljs . registerLanguage ( 'javascript' , javascript ) ;
13+ hljs . registerLanguage ( 'python' , python ) ;
14+ hljs . registerLanguage ( 'java' , java ) ;
15+ hljs . registerLanguage ( 'bash' , bash ) ;
16+ hljs . registerLanguage ( 'xml' , xml ) ;
17+ hljs . registerLanguage ( 'cpp' , cpp ) ;
18+ hljs . registerLanguage ( 'c' , c ) ;
19+
20+ hljs . highlightAll ( )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import "bootstrap"
22import "bootstrap-3-typeahead"
33
4- // https://github.com/webpack-contrib/expose-loader/issues/188
5- import Cookies from "js-cookie"
6- window . Cookies = Cookies
4+ //https://github.com/webpack-contrib/expose-loader/issues/188
5+ import 'fix.js!=!expose-loader?exposes=Cookies|default!js-cookie' ;
76
87import "./utils"
98import "./csrf_link_protect"
109import "./language-picker"
1110import "./bootstrap-async-collapsible"
1211import "./bootstrap-table-responsive-dropdown-fix"
13- import "./menu"
14- import "./highlight"
15- import "./clipboard-setup"
16-
17- // No idea
18- $ ( function ( ) {
19- $ ( "[data-toggle='tooltip']" ) . tooltip ( ) ;
20- } ) ;
12+ import "./bootstrap-tooltip-setup"
13+ import "./menu-setup"
14+ import "./highlight-setup"
15+ import "./clipboard-setup"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments