Jonathan Frederic
39aaf7bf88
s/default_view_name/view_name
2014-01-16 10:57:14 +00:00
Jonathan Frederic
21a14e11a4
s/Widget/DOMWidget s/BaseWidget/Widget
2014-01-16 10:57:14 +00:00
Jonathan Frederic
696a6e4c28
add/remove_class now can accept a list of classes
2014-01-16 10:57:14 +00:00
Jonathan Frederic
2600913067
Removed ViewWidget
2014-01-16 10:57:14 +00:00
Jonathan Frederic
441a3e3ca6
Updated require.js references
2014-01-16 10:57:14 +00:00
Jonathan Frederic
ee522adc18
Renamed widget js files
2014-01-16 10:57:14 +00:00
Jonathan Frederic
691db01e5e
Missing view argument when recursively calling widgetmanager.callbacks(view)
2014-01-16 10:57:14 +00:00
Jonathan Frederic
babd5c44ba
Completely remove cell from model and view.
2014-01-16 10:57:13 +00:00
Jonathan Frederic
9e43807579
Updated comm id comments in view to model id
2014-01-16 10:57:13 +00:00
Jonathan Frederic
3329f875f3
s/comm_id/model_id (left over from before)
2014-01-16 10:57:13 +00:00
Jason Grout
a0b2cc40b8
Make widget keys have more explicit inheritance
2014-01-16 10:57:13 +00:00
Jason Grout
ce98452180
Get rid of keys magic; make the keys very explicit
2014-01-16 10:57:13 +00:00
Jason Grout
f0a4b9ea30
Make the widget keys property traverse the superclasses and accumulate the _keys attributes.
...
This caches the result, overwriting the property.
2014-01-16 10:57:13 +00:00
Jason Grout
7cbda99b0d
Add widget view options in creating child views
2014-01-16 10:57:13 +00:00
Jonathan Frederic
7c3b21d239
Fixed typo in model_id property
2014-01-16 10:57:13 +00:00
Jonathan Frederic
0c8b6029a6
Remove debug print statements in container tests
2014-01-16 10:57:13 +00:00
Jonathan Frederic
d2afb9895b
Output one more for debugging
2014-01-16 10:57:13 +00:00
Jonathan Frederic
7f430db3c8
Print cell output
2014-01-16 10:57:13 +00:00
Jonathan Frederic
12760ddbe5
deleted: wigets_container.js
2014-01-16 10:57:13 +00:00
Jonathan Frederic
07b3a7639d
Revert "Enabled IPython Server output for Travis debugging"
...
This reverts commit eb7ee3f61335a7147fcfc1b1907d41f163bb0b41.
2014-01-16 10:57:13 +00:00
Jonathan Frederic
74fccf47b3
Revert "Added line to dump page html casperjs"
...
This reverts commit 7091ce87f7a280dde7724d92fd542b834f764e61.
2014-01-16 10:57:13 +00:00
Jonathan Frederic
8891750535
Fixed static_url call which is no longer optionally 1 param
2014-01-16 10:57:12 +00:00
Jonathan Frederic
3a05f7e145
Enabled IPython Server output for Travis debugging
2014-01-16 10:57:12 +00:00
Jonathan Frederic
c7362cb524
Added line to dump page html casperjs
2014-01-16 10:57:12 +00:00
Jonathan Frederic
926c93eb84
Fixed indentation in widgetmanager.js
2014-01-16 10:57:12 +00:00
Jonathan Frederic
57f3057ca5
Moved view widget into widget.py
2014-01-16 10:57:12 +00:00
Jonathan Frederic
46e88dc205
Fixed indent of line 450
...
... caused Travis to get mad
2014-01-16 10:57:12 +00:00
Jonathan Frederic
a2235efbea
Further indentation cleanup
2014-01-16 10:57:12 +00:00
Jonathan Frederic
2e4abaa13d
Removed console.log, unused
2014-01-16 10:57:12 +00:00
Jonathan Frederic
35a536f3b8
Re-decoupled comm_id from widget models
2014-01-16 10:57:12 +00:00
Jonathan Frederic
1b4e2ad6fe
Added ViewWidget
2014-01-16 10:57:12 +00:00
Jonathan Frederic
399f11e2b2
renamed: wigets_container.js -> widgets_container.js
2014-01-16 10:57:12 +00:00
Jonathan Frederic
c3189c1c93
Fixed JS tests to reflect Jason's changes
2014-01-16 10:57:12 +00:00
Jonathan Frederic
8732761524
Added update_children
pattern to remaining parent widgets
2014-01-16 10:57:12 +00:00
Jonathan Frederic
2211abd28d
Converted tabs to spaces
2014-01-16 10:57:11 +00:00
Jason Grout
b41f77e635
Fix the python side of the add/remove class functions to send custom messages
2014-01-16 10:57:11 +00:00
Jason Grout
44e2043afe
Live updates for children automatically change container views.
...
Since traitlets does not trigger events when list elements are changed, these changes are triggered only when the entire children element is reassigned.
2014-01-16 10:57:11 +00:00
Jason Grout
b52043b4f7
Get the add/remove css classes working
2014-01-16 10:57:11 +00:00
Jason Grout
a8c8c2a5fd
General cleanup of base.js, including indentation fixes and adding view callbacks to the save options dictionary.
2014-01-16 10:57:11 +00:00
Jason Grout
747b219771
Move some Widget class references to BaseWidget
2014-01-16 10:57:11 +00:00
Jason Grout
00472333ec
log the error stack for a kernel javascript error message
2014-01-16 10:57:11 +00:00
Jason Grout
07ffef8392
Make sure containers transmit the children; take care of case where children is possibly empty.
2014-01-16 10:57:11 +00:00
Jason Grout
7810c78aea
Fix visible attribute for the very first render
2014-01-16 10:57:11 +00:00
Jason Grout
9b1a0d70a2
fix a handle_status handler
2014-01-16 10:57:11 +00:00
Jason Grout
1bf8da0734
Note todos for widgets
2014-01-16 10:57:10 +00:00
Jason Grout
38f0135522
Delete the snapshot message handler
2014-01-16 10:57:10 +00:00
Jason Grout
9a4c5957c3
Store views in the models and store child views in the views
2014-01-16 10:57:10 +00:00
Jason Grout
7431fa37dd
Make updates more granular for widgets
2014-01-16 10:57:10 +00:00
Jason Grout
641a5af70f
Move all references to cells to the view objects.
2014-01-16 10:57:10 +00:00
Jason Grout
45206783c2
Delete unnecessary check for comm object
2014-01-16 10:57:10 +00:00