Skip to content

Commit

Permalink
Merge pull request #5289 from ellisonbg/widget-path
Browse files Browse the repository at this point in the history
Finishing up #5274 (widget paths fixes)
  • Loading branch information
jdfreder committed Mar 7, 2014
2 parents b668b92 + 1410f91 commit 3f608e3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions examples/widgets/File Upload Widget.ipynb
Expand Up @@ -78,7 +78,7 @@
"input": [
"%%javascript\n",
"\n",
"require([\"notebook/js/widgets/widget\"], function(WidgetManager){\n",
"require([\"widgets/js/widget\"], function(WidgetManager){\n",
"\n",
" var FilePickerView = IPython.WidgetView.extend({\n",
" render: function(){\n",
Expand Down Expand Up @@ -130,7 +130,7 @@
{
"javascript": [
"\n",
"require([\"notebook/js/widgets/widget\"], function(WidgetManager){\n",
"require([\"widgets/js/widget\"], function(WidgetManager){\n",
"\n",
" var FilePickerView = IPython.WidgetView.extend({\n",
" render: function(){\n",
Expand Down Expand Up @@ -245,4 +245,4 @@
"metadata": {}
}
]
}
}
28 changes: 14 additions & 14 deletions examples/widgets/Part 6 - Custom Widget.ipynb
Expand Up @@ -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:"
]
Expand All @@ -131,7 +131,7 @@
"input": [
"%%javascript\n",
"\n",
"require([\"notebook/js/widgets/widget\"], function(WidgetManager){\n",
"require([\"widgets/js/widget\"], function(WidgetManager){\n",
"\n",
"});"
],
Expand All @@ -141,7 +141,7 @@
{
"javascript": [
"\n",
"require([\"notebook/js/widgets/widget\"], function(WidgetManager){\n",
"require([\"widgets/js/widget\"], function(WidgetManager){\n",
"\n",
"});"
],
Expand Down Expand Up @@ -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",
Expand All @@ -191,7 +191,7 @@
{
"javascript": [
"\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",
Expand Down Expand Up @@ -301,7 +301,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",
Expand All @@ -324,7 +324,7 @@
{
"javascript": [
"\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",
Expand Down Expand Up @@ -363,7 +363,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",
Expand Down Expand Up @@ -393,7 +393,7 @@
{
"javascript": [
"\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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -486,7 +486,7 @@
"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",
Expand Down Expand Up @@ -830,7 +830,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",
Expand Down Expand Up @@ -886,7 +886,7 @@
{
"javascript": [
"\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",
Expand Down Expand Up @@ -1055,4 +1055,4 @@
"metadata": {}
}
]
}
}

0 comments on commit 3f608e3

Please sign in to comment.