##// END OF EJS Templates
Move shim to the standard location
Jason Grout -
Show More
@@ -1,12 +1,6 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
10 4 require([
11 5 'base/js/namespace',
12 6 'jquery',
@@ -11,7 +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 'highlight',
15 15 'notebook/js/mathjaxutils',
16 16 'base/js/keyboard',
17 17 'notebook/js/tooltip',
@@ -26,6 +26,7 b''
26 26 bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
27 27 dateformat: 'dateformat/date.format',
28 28 jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
29 highlight: 'components/highlight.js/build/highlight.pack',
29 30 },
30 31 shim: {
31 32 underscore: {
@@ -44,7 +45,10 b''
44 45 jqueryui: {
45 46 deps: ["jquery"],
46 47 exports: "$"
47 }
48 },
49 highlight: {
50 exports: "hljs"
51 },
48 52 }
49 53 });
50 54 </script>
General Comments 0
You need to be logged in to leave comments. Login now