##// END OF EJS Templates
Add a requirejs shim for highlight.js...
Jason Grout -
Show More
@@ -1,6 +1,12 b''
1 // Copyright (c) IPython Development Team.
1 // Copyright (c) IPython Development Team.
2 // Distributed under the terms of the Modified BSD License.
2 // Distributed under the terms of the Modified BSD License.
3
3
4 requirejs.config({
5 shim: {
6 'components/highlight.js/build/highlight.pack': {exports: 'hljs'}
7 }
8 });
9
4 require([
10 require([
5 'base/js/namespace',
11 'base/js/namespace',
6 'jquery',
12 'jquery',
@@ -11,6 +11,7 b' define(['
11 'services/sessions/js/session',
11 'services/sessions/js/session',
12 'notebook/js/celltoolbar',
12 'notebook/js/celltoolbar',
13 'components/marked/lib/marked',
13 'components/marked/lib/marked',
14 'components/highlight.js/build/highlight.pack',
14 'notebook/js/mathjaxutils',
15 'notebook/js/mathjaxutils',
15 'base/js/keyboard',
16 'base/js/keyboard',
16 'notebook/js/tooltip',
17 'notebook/js/tooltip',
@@ -27,6 +28,7 b' define(['
27 session,
28 session,
28 celltoolbar,
29 celltoolbar,
29 marked,
30 marked,
31 hljs,
30 mathjaxutils,
32 mathjaxutils,
31 keyboard,
33 keyboard,
32 tooltip,
34 tooltip,
General Comments 0
You need to be logged in to leave comments. Login now