Jonathan Frederic
818f5e7824
Added ability to pack and unpack arrays.
12 years ago
Jonathan Frederic
6f3ef63ac9
s/Underscore/_
12 years ago
MinRK
dd2f4a25aa
quick review pass on javascript
12 years ago
Jonathan Frederic
3026ddb52b
Fixed bug in throttling code.
12 years ago
Jonathan Frederic
7f12f35fea
Added code that removes the views when a model/widget is closed.
12 years ago
Jonathan Frederic
2bb9ba9a9c
Adjusted throttling
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
c5e48c0b75
Added some small comments to widget code
12 years ago
Jonathan Frederic
80c3339791
- remove second line in create_child_view
...
- add undefined check in delete_child_view
12 years ago
Jonathan Frederic
08e40697de
Removed for () loops where necessary. Replaced with _.each
12 years ago
Jonathan Frederic
af4809bec4
Prefer JQuery to Underscore
12 years ago
Jonathan Frederic
d9a703d305
'create' should be handled in sync
12 years ago
Jonathan Frederic
2b27b4101b
Remove todo in apply update
12 years ago
Jonathan Frederic
cb6094281c
s/custom_content/content
12 years ago
Jonathan Frederic
097951a6b8
Remove residual tabs
12 years ago
Jonathan Frederic
691cd56038
Change the callback logic so the order makes more sense:
...
*Now*
View calls Model which calls Widget Manager
*instead of *
View calls Widget Manager, which then the Model modifies right
before sync
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
Jason Grout
140d1872f7
Delete unnecessary save
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
092e40df32
make the saving to python a method of the model, called with callbacks
...
Conflicts:
IPython/html/static/notebook/js/widgets/widget.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
bd3ba3328c
Added PEP8 style comments to all of the JS code.
12 years ago
Jonathan Frederic
74185a68e7
Got containers and mutlicontainers working! Yay
12 years ago
Jonathan Frederic
4017c7b27a
Fixed *almost* all of the test-detected bugs
12 years ago
Jonathan Frederic
c1c7bb7563
Everyone uses one model
12 years ago
Jonathan Frederic
d103c682c5
Many checks off the todo list, test fixes
12 years ago
Jonathan Frederic
f6de685d9f
Use .apply for calling base with not proto-type.
...
See codecell for example.
12 years ago
Jonathan Frederic
1e37a46a55
Add a helper method that acts on the changes made to a list.
12 years ago
Jonathan Frederic
ccbfcbc159
make JS update comment more descriptive (english)
12 years ago
Jonathan Frederic
0740980d5c
remove length test add_class and remove_class
12 years ago
Jonathan Frederic
8dc5535638
un-nest options.options
12 years ago
Jonathan Frederic
a6fac70e03
s/BaseWidgetView/WidgetView and s/WidgetView/DOMWidgetView
12 years ago
Jonathan Frederic
44cf406ac0
this.updating should be a key specific lock
12 years ago
Jason Grout
d658f362ac
Update option-passing for creating child views.
12 years ago
Jonathan Frederic
3a271585d7
Add constructor comment for widget model.
12 years ago
Jonathan Frederic
d7835eb14e
Added missing comma
12 years ago
Jonathan Frederic
d3b33828c5
handle_msg a display_model method.
12 years ago
Jonathan Frederic
e383594d04
renamed: basic_widgets.js -> init.js
...
renamed: init.js -> widget.js
12 years ago
Jonathan Frederic
5a3665d9ed
s/widget.js/init.js
12 years ago
Jonathan Frederic
5b388df615
Added callbacks method to view
12 years ago
Jonathan Frederic
5ced2816e7
Removed sync_method parameter from backbone msg spec
12 years ago
Jonathan Frederic
ee522adc18
Renamed widget js files
12 years ago