Jonathan Frederic
4a314ea3da
Unconditionally register $el with keyboard manager
...
also s/elements/additional_elements
12 years ago
Jonathan Frederic
ef2c71c34d
Fix command mode & popup view bug
...
Added elements property to PopupView
12 years ago
Brian E. Granger
2b7310f794
Merge pull request #4933 from jdfreder/widget-model-name
...
Small Widget inconsistency fixes
12 years ago
Brian E. Granger
e2c20e0675
Rename _handle_new_view->_handle_display_view.
12 years ago
Brian E. Granger
8c046fef99
Only call register_events on top level widget.
12 years ago
Jonathan Frederic
6f3ef63ac9
s/Underscore/_
12 years ago
MinRK
001e06103b
review pass on widgetmanager.js
12 years ago
Jonathan Frederic
3026ddb52b
Fixed bug in throttling code.
12 years ago
Jonathan Frederic
7c32616556
Moved keyboard_manager logic into a sep. function.
12 years ago
Jonathan Frederic
288b8a0ced
s/view_name/_view_name
12 years ago
Jonathan Frederic
1b8b6b3a88
Fixed bug where views child to other views would not have cell information
12 years ago
Jonathan Frederic
629d65da89
Fixed context errors and a couple of typos to get the tests working again
12 years ago
Jonathan Frederic
99f3f5155e
Fixed some typos related to _.each loops
12 years ago
Jonathan Frederic
c5e48c0b75
Added some small comments to widget code
12 years ago
Jonathan Frederic
58f56a5dd7
Explicitly return null if there aren't any results
12 years ago
Jonathan Frederic
08e40697de
Removed for () loops where necessary. Replaced with _.each
12 years ago
Jonathan Frederic
b7cd129c37
Added a line that was accidently deleted during merge of 4e813c5
12 years ago
Jason Grout
fe6edb26a6
Rewrite widget syncing
...
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jonathan Frederic
e17200a533
Widget require.js fix
...
The WidgetManager namespace is passed around instead of a
widget_manager instance...
12 years ago
Jonathan Frederic
469c865603
Added support for multiple kernels.
12 years ago
Jason Grout
ce19a34d93
Pass the whole message into the widget manager display_view call
...
We do this so implementations can see metadata and any other things in the message, if they want.
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
12 years ago
Jason Grout
24ec0da125
Fix the cell reference in views
...
This solution is kludgy, but it does fix what broke when we tried to take the cell references out of views.
Conflicts:
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jonathan Frederic
2aeac3a424
Make widget views work with new keyboard manager.
12 years ago
Jonathan Frederic
f86fe40c97
Fix rebase issues
12 years ago
Jonathan Frederic
00650fd64a
Dev meeting Jan 2014, widget review day 2
12 years ago
Jonathan Frederic
ec68f38ed7
Removed get_kernel method.
12 years ago
Jonathan Frederic
8dc5535638
un-nest options.options
12 years ago
Jonathan Frederic
d3b33828c5
handle_msg a display_model method.
12 years ago
Jonathan Frederic
3254f338bb
Added note in widget manager why Backbone.sync is there rather
...
than the base.js (widget.js)
12 years ago
Jonathan Frederic
3f3a7edd6a
remove on_create_widget and handle_create_widget callback
12 years ago
Jonathan Frederic
17da002a6a
remove msg.content.data.view_name and corrosponding create_view param
12 years ago
Jonathan Frederic
99d83a2ad1
move backbone sync outside the widget manager class
12 years ago
Jonathan Frederic
5dbffa5287
_model_types, _view_types, _models - and document what keys and values are
12 years ago
Jonathan Frederic
691db01e5e
Missing view argument when recursively calling widgetmanager.callbacks(view)
12 years ago
Jonathan Frederic
babd5c44ba
Completely remove cell from model and view.
12 years ago
Jason Grout
7cbda99b0d
Add widget view options in creating child views
12 years ago
Jonathan Frederic
926c93eb84
Fixed indentation in widgetmanager.js
12 years ago
Jonathan Frederic
35a536f3b8
Re-decoupled comm_id from widget models
12 years ago
Jonathan Frederic
2211abd28d
Converted tabs to spaces
12 years ago
Jason Grout
1bf8da0734
Note todos for widgets
12 years ago
Jason Grout
38f0135522
Delete the snapshot message handler
12 years ago
Jason Grout
9a4c5957c3
Store views in the models and store child views in the views
12 years ago
Jason Grout
ad1e23bfc2
Intermediate changes to javascript side of backbone widgets
12 years ago
Jonathan Frederic
3361826b5a
Added require.js shims for underscore and backbone
...
This is necessary since underscore and backbone are no longer AMD
modules.
12 years ago
Jonathan Frederic
d4b6823a49
Removed unused that from widget manager
12 years ago
Jonathan Frederic
73380ca442
Fixed nonregistered model bug in wiget manager
12 years ago
Jonathan Frederic
d7c0498b13
renamed: widget.js -> widgetmanager.js
12 years ago