Fixing the rest of the widget paths (widgets/js).

This commit is contained in:
Brian E. Granger 2014-03-07 14:14:44 -08:00
parent 95ff7bbfd5
commit 0edcbf4d6a

View File

@ -120,7 +120,7 @@
"metadata": {},
"source": [
"In the IPython notebook [require.js](http://requirejs.org/) is used to load JavaScript dependencies.\n",
"All IPython widget code depends on `notebook/js/widgets/widget.js`,\n",
"All IPython widget code depends on `widgets/js/widget.js`,\n",
"where the base widget model and base view are defined.\n",
"We use require.js to load this file:"
]
@ -131,7 +131,7 @@
"input": [
"%%javascript\n",
"\n",
"require([\"notebook/js/widgets/widget\"], function(WidgetManager){\n",
"require([\"widgets/js/widget\"], function(WidgetManager){\n",
"\n",
"});"
],
@ -174,7 +174,7 @@
"input": [
"%%javascript\n",
"\n",
"require([\"notebook/js/widgets/widget\"], function(WidgetManager){\n",
"require([\"widgets/js/widget\"], function(WidgetManager){\n",
" \n",
" // Define the DatePickerView\n",
" var DatePickerView = IPython.DOMWidgetView.extend({\n",
@ -446,7 +446,7 @@
"%%javascript\n",
"\n",
"\n",
"require([\"notebook/js/widgets/widget\"], function(WidgetManager){\n",
"require([\"widgets/js/widget\"], function(WidgetManager){\n",
" \n",
" // Define the DatePickerView\n",
" var DatePickerView = IPython.DOMWidgetView.extend({\n",