Merge pull request #770 from SylvainCorlay/module_names

Use jquery-ui instead of jqueryui
Matthias Bussonnier 10 years ago
commit cdb7c7b843

@ -2,7 +2,7 @@
// Distributed under the terms of the Modified BSD License.
define([
'jqueryui',
'jquery-ui',
'base/js/utils',
'base/js/security',
'base/js/keyboard',

@ -2,7 +2,7 @@
// Distributed under the terms of the Modified BSD License.
define([
'jqueryui',
'jquery-ui',
'base/js/utils',
], function($, utils) {
"use strict";

@ -17,7 +17,7 @@ require([
'tree/js/newnotebook',
'auth/js/loginwidget',
// only loaded, not used:
'jqueryui',
'jquery-ui',
'bootstrap',
'custom/custom',
], function(

@ -34,12 +34,17 @@
jquery: 'components/jquery/jquery.min',
bootstrap: 'components/bootstrap/js/bootstrap.min',
bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
'jquery-ui': 'components/jquery-ui/ui/minified/jquery-ui.min',
moment: 'components/moment/moment',
codemirror: 'components/codemirror',
termjs: 'components/term.js/src/term',
typeahead: 'components/jquery-typeahead/dist/jquery.typeahead'
},
map: { // for backward compatibility
"*": {
"jqueryui": "jquery-ui",
}
},
shim: {
typeahead: {
deps: ["jquery"],
@ -60,7 +65,7 @@
deps: ["bootstrap"],
exports: "Tour"
},
jqueryui: {
"jquery-ui": {
deps: ["jquery"],
exports: "$"
}

@ -18,13 +18,18 @@ var rjs_config = {
jquery: 'components/jquery/jquery.min',
bootstrap: 'components/bootstrap/js/bootstrap.min',
bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
"jquery-ui": 'components/jquery-ui/ui/minified/jquery-ui.min',
moment: 'components/moment/moment',
codemirror: 'components/codemirror',
termjs: 'components/term.js/src/term',
typeahead: 'components/jquery-typeahead/dist/jquery.typeahead',
contents: 'empty:'
},
map: { // for backward compatibility
"*": {
"jqueryui": "jquery-ui",
}
},
shim: {
typeahead: {
deps: ["jquery"],
@ -45,7 +50,7 @@ var rjs_config = {
deps: ["bootstrap"],
exports: "Tour"
},
jqueryui: {
"jquery-ui": {
deps: ["jquery"],
exports: "$"
}

Loading…
Cancel
Save