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.
12 years ago
Jason Grout
b52043b4f7
Get the add/remove css classes working
12 years ago
Jason Grout
a8c8c2a5fd
General cleanup of base.js, including indentation fixes and adding view callbacks to the save options dictionary.
12 years ago
Jason Grout
7810c78aea
Fix visible attribute for the very first render
12 years ago
Jason Grout
9b1a0d70a2
fix a handle_status handler
12 years ago
Jason Grout
1bf8da0734
Note todos for widgets
12 years ago
Jason Grout
9a4c5957c3
Store views in the models and store child views in the views
12 years ago
Jason Grout
7431fa37dd
Make updates more granular for widgets
12 years ago
Jason Grout
641a5af70f
Move all references to cells to the view objects.
12 years ago
Jason Grout
45206783c2
Delete unnecessary check for comm object
12 years ago
Jason Grout
18beaff887
Remove unused code and debugging statements
12 years ago
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.
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
b588a56f76
Moved touch logic out of model into view.
...
View now updates using backbone events.
12 years ago
Jonathan Frederic
a2c951d9b0
s/display/created for display_view stuff
12 years ago
Jonathan Frederic
3c866ea412
Made widget model state update function public
12 years ago
Jonathan Frederic
8ceb29796a
Made display_view a public method.
12 years ago
Jonathan Frederic
19e9cee437
Fix, require.js needs return of widget manager for other widgets
12 years ago
Jonathan Frederic
d7c0498b13
renamed: widget.js -> widgetmanager.js
12 years ago
Jonathan Frederic
3d7557b740
Moved base widget model and view into widgets/base.js
12 years ago