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
Jason Grout
41170f7471
Change accordion to use a children attribute
2014-01-16 10:57:10 +00:00
Jason Grout
18beaff887
Remove unused code and debugging statements
2014-01-16 10:57:10 +00:00
Jason Grout
72f7d2fe09
Remove the automatic _children_attr and _children_lists_attr.
...
When serializing, any Widget object is encoded as its comm_id. The view should know how to deal with the attribute, and should know that the attribute is a comm_id.
2014-01-16 10:57:10 +00:00
Jason Grout
ad1e23bfc2
Intermediate changes to javascript side of backbone widgets
2014-01-16 10:57:10 +00:00
Jason Grout
518cb4c647
Separate the display from the models on the python side, creating a BaseWidget class.
...
Conflicts:
IPython/html/widgets/widget.py
2014-01-16 10:57:10 +00:00
Jonathan Frederic
2df05bc5b8
Display handler now supports full kwargs
2014-01-16 10:57:10 +00:00
Jonathan Frederic
3361826b5a
Added require.js shims for underscore and backbone
...
This is necessary since underscore and backbone are no longer AMD
modules.
2014-01-16 10:57:10 +00:00
Jonathan Frederic
b588a56f76
Moved touch logic out of model into view.
...
View now updates using backbone events.
2014-01-16 10:57:10 +00:00
Jonathan Frederic
a2c951d9b0
s/display/created for display_view stuff
2014-01-16 10:57:09 +00:00
Jonathan Frederic
996d133710
Remove redundent _handle_close method
2014-01-16 10:57:09 +00:00
Jonathan Frederic
857ae831fb
Decoupled Python Widget from Comm
...
Fixed conflicts:
IPython/html/widgets/widget.py
2014-01-16 10:57:09 +00:00
Jonathan Frederic
f2fefe20ff
Added event for widget construction
2014-01-16 10:57:09 +00:00
Jonathan Frederic
ea27ae599b
Added parent parameter to on_display callback
2014-01-16 10:57:09 +00:00
Jonathan Frederic
d4b6823a49
Removed unused that from widget manager
2014-01-16 10:57:09 +00:00
Jonathan Frederic
73380ca442
Fixed nonregistered model bug in wiget manager
2014-01-16 10:57:09 +00:00
Jonathan Frederic
3c866ea412
Made widget model state update function public
2014-01-16 10:57:09 +00:00
Jonathan Frederic
8ceb29796a
Made display_view a public method.
2014-01-16 10:57:09 +00:00
Jonathan Frederic
19e9cee437
Fix, require.js needs return of widget manager for other widgets
2014-01-16 10:57:09 +00:00
Jonathan Frederic
d7c0498b13
renamed: widget.js -> widgetmanager.js
2014-01-16 10:57:09 +00:00
Jonathan Frederic
3d7557b740
Moved base widget model and view into widgets/base.js
2014-01-16 10:57:09 +00:00
Jonathan Frederic
3a936676dc
Removed comm dependency of widget model and view
2014-01-16 10:57:09 +00:00