Skip to content

Commit

Permalink
Fixing the rest of the widget paths (widgets/js).
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisonbg committed Mar 7, 2014
1 parent 87bc89a commit 1410f91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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 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 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

0 comments on commit 1410f91

Please sign in to comment.