##// END OF EJS Templates
Add a requirejs shim for highlight.js...
Jason Grout -
Show More
@@ -1,6 +1,12 b''
1 1 // Copyright (c) IPython Development Team.
2 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 10 require([
5 11 'base/js/namespace',
6 12 'jquery',
@@ -11,6 +11,7 b' define(['
11 11 'services/sessions/js/session',
12 12 'notebook/js/celltoolbar',
13 13 'components/marked/lib/marked',
14 'components/highlight.js/build/highlight.pack',
14 15 'notebook/js/mathjaxutils',
15 16 'base/js/keyboard',
16 17 'notebook/js/tooltip',
@@ -27,6 +28,7 b' define(['
27 28 session,
28 29 celltoolbar,
29 30 marked,
31 hljs,
30 32 mathjaxutils,
31 33 keyboard,
32 34 tooltip,
General Comments 0
You need to be logged in to leave comments. Login now