Merge pull request #6190 from minrk/bootstrap-shim

add bootstrap shim for require
Matthias Bussonnier 12 years ago
commit cb810bad86

@ -6,7 +6,7 @@ define([
'jquery',
'base/js/utils',
'notebook/js/tour',
'components/bootstrap/js/bootstrap.min',
'bootstrap',
], function(IPython, $, utils, tour) {
"use strict";

@ -12,8 +12,8 @@ require([
'tree/js/sessionlist',
'tree/js/kernellist',
'auth/js/loginwidget',
'components/jquery-ui/ui/minified/jquery-ui.min',
'components/bootstrap/js/bootstrap.min',
'jqueryui',
'bootstrap',
], function(
IPython,
$,

@ -4,7 +4,7 @@
define([
"widgets/js/widget",
"jquery",
"components/bootstrap/js/bootstrap.min",
"bootstrap",
], function(widget, $){
var CheckboxView = widget.DOMWidgetView.extend({

@ -4,7 +4,7 @@
define([
"widgets/js/widget",
"jquery",
"components/bootstrap/js/bootstrap.min",
"bootstrap",
], function(widget, $){
var ButtonView = widget.DOMWidgetView.extend({

@ -4,7 +4,7 @@
define([
"widgets/js/widget",
"jqueryui",
"components/bootstrap/js/bootstrap.min",
"bootstrap",
], function(widget, $){
var ContainerView = widget.DOMWidgetView.extend({

@ -4,7 +4,7 @@
define([
"widgets/js/widget",
"jqueryui",
"components/bootstrap/js/bootstrap.min",
"bootstrap",
], function(widget, $){
var IntSliderView = widget.DOMWidgetView.extend({

@ -5,7 +5,7 @@ define([
"widgets/js/widget",
"base/js/utils",
"jquery",
"components/bootstrap/js/bootstrap.min",
"bootstrap",
], function(widget, utils, $){
var DropdownView = widget.DOMWidgetView.extend({

@ -5,7 +5,7 @@ define([
"widgets/js/widget",
"base/js/utils",
"jquery",
"components/bootstrap/js/bootstrap.min",
"bootstrap",
], function(widget, utils, $){
var AccordionView = widget.DOMWidgetView.extend({

@ -4,7 +4,7 @@
define([
"widgets/js/widget",
"jquery",
"components/bootstrap/js/bootstrap.min",
"bootstrap",
], function(widget, $){
var HTMLView = widget.DOMWidgetView.extend({

@ -23,6 +23,7 @@
underscore : 'components/underscore/underscore-min',
backbone : 'components/backbone/backbone-min',
jquery: 'components/jquery/jquery.min',
bootstrap: 'components/bootstrap/js/bootstrap.min',
bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
dateformat: 'dateformat/date.format',
jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
@ -35,7 +36,12 @@
deps: ["underscore", "jquery"],
exports: "Backbone"
},
bootstrap: {
deps: ["jquery"],
exports: "bootstrap"
},
bootstraptour: {
deps: ["bootstrap"],
exports: "Tour"
},
dateformat: {

Loading…
Cancel
Save