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