File tree 5 files changed +29
-22
lines changed
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 1
1
import "bootstrap"
2
2
import "bootstrap-3-typeahead"
3
3
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' ;
7
6
8
7
import "./utils"
9
8
import "./csrf_link_protect"
10
9
import "./language-picker"
11
10
import "./bootstrap-async-collapsible"
12
11
import "./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