Move shim to the standard location

pull/37/head
Jason Grout 12 years ago
parent ab9e4b600e
commit 3fc4442053

@ -1,12 +1,6 @@
// Copyright (c) IPython Development Team.
// Distributed under the terms of the Modified BSD License.
requirejs.config({
shim: {
'components/highlight.js/build/highlight.pack': {exports: 'hljs'}
}
});
require([
'base/js/namespace',
'jquery',

@ -11,7 +11,7 @@ define([
'services/sessions/js/session',
'notebook/js/celltoolbar',
'components/marked/lib/marked',
'components/highlight.js/build/highlight.pack',
'highlight',
'notebook/js/mathjaxutils',
'base/js/keyboard',
'notebook/js/tooltip',

@ -26,6 +26,7 @@
bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
dateformat: 'dateformat/date.format',
jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
highlight: 'components/highlight.js/build/highlight.pack',
},
shim: {
underscore: {
@ -44,7 +45,10 @@
jqueryui: {
deps: ["jquery"],
exports: "$"
}
},
highlight: {
exports: "hljs"
},
}
});
</script>

Loading…
Cancel
Save