Jonathan Frederic
c085593e2a
More fixes
12 years ago
Jonathan Frederic
d694666e66
A lot of bug fixes...
...
Related to 1-to-1 changes
12 years ago
Jonathan Frederic
c1c7bb7563
Everyone uses one model
12 years ago
Jonathan Frederic
00650fd64a
Dev meeting Jan 2014, widget review day 2
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
70c6a295d0
Finished renaming Multicontainer to SelectionContainer
12 years ago
Jonathan Frederic
a528610e07
renamed: ../static/notebook/js/widgets/widget_multicontainer.js -> ../static/notebook/js/widgets/widget_selectioncontainer.js
...
renamed: widget_multicontainer.py -> widget_selectioncontainer.py
12 years ago
Jonathan Frederic
643516f6f9
remove .html('');
12 years ago
Jonathan Frederic
c62b496b0e
s/image_format/format
12 years ago
Jonathan Frederic
b5f97c1227
add comment views are in *_range
12 years ago
Jonathan Frederic
5e9a090423
toggle button, set $el to button (removing extra div)
12 years ago
Jonathan Frederic
5b5325507f
add locks to update everywhere by using options to pass this
...
(and check for this)
12 years ago
Jonathan Frederic
c4edfdc828
comment model.set, so we know that it triggers update on other views
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
441a3e3ca6
Updated require.js references
12 years ago
Jonathan Frederic
ee522adc18
Renamed widget js files
12 years ago
Jonathan Frederic
babd5c44ba
Completely remove cell from model and view.
12 years ago
Jonathan Frederic
9e43807579
Updated comm id comments in view to model id
12 years ago
Jonathan Frederic
3329f875f3
s/comm_id/model_id (left over from before)
12 years ago
Jason Grout
7cbda99b0d
Add widget view options in creating child views
12 years ago
Jonathan Frederic
35a536f3b8
Re-decoupled comm_id from widget models
12 years ago
Jonathan Frederic
8732761524
Added `update_children` pattern to remaining parent widgets
12 years ago
Jonathan Frederic
2211abd28d
Converted tabs to spaces
12 years ago
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
41170f7471
Change accordion to use a children attribute
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