Jonathan Frederic
93cedc167e
Address @takluyver 's comments
11 years ago
Jonathan Frederic
eb319c8aab
Promise logic is infectious like a disease
11 years ago
Jonathan Frederic
b56fc606ad
Promise the messages to the model
11 years ago
Jonathan Frederic
0d591619c6
Make all tests async display safe
11 years ago
Jonathan Frederic
56c5020a84
bool_test passing with slimerjs
11 years ago
Jonathan Frederic
b76d4d5c05
Use es6-promise polyfill
11 years ago
Jonathan Frederic
bed3a4cfda
use es6
11 years ago
Jonathan Frederic
8c149c9112
Current state with lots and lots of debugging junk
11 years ago
Jonathan Frederic
b3c49fce66
Move the display Promise into a lower level method,
...
into the create view method of the widget manager.
This makes sure that views created by parent views
are also accounted for in the state/display order
guarantee.
11 years ago
Jonathan Frederic
6ee932f298
Add rsvp to setupbase
11 years ago
Jonathan Frederic
26d012b3b7
Add comment clarifying new hook function,
...
Refined Page Error output.
11 years ago
Jonathan Frederic
fed878fed9
Don't throw Errors with Objects as the message/
11 years ago
Jonathan Frederic
17108fed3b
Make errors clearer!
11 years ago
Jonathan Frederic
66caa322c5
Make Page Error output clearer
11 years ago
Jonathan Frederic
77789daa12
Test fixes
11 years ago
Jonathan Frederic
bbcd5cb55f
Bug fixes
11 years ago
Jonathan Frederic
3870bb571b
Use rsvp.js for Promises
11 years ago
Jonathan Frederic
c67dcc0dc3
Finished adding error handling.
11 years ago
Jonathan Frederic
1d1572421f
Add a WrappedError class
11 years ago
Jonathan Frederic
b16b2e8749
Make display also pend on set_state.
11 years ago
Jason Grout
a4331a93cc
Fix some this vs. that errors, as well as returning some promises to wait for fulfillment
11 years ago
Jason Grout
8e769a012f
Load the utils module
11 years ago
Jason Grout
f11a51bb77
Dictionary key/value typo
11 years ago
Jason Grout
fc94383487
Better error messages with correct stack traces
11 years ago
Jason Grout
1b9948d178
Add some error handling for creating views and models
11 years ago
Jason Grout
686e73dfdf
More simplifications due to promises
11 years ago
Jason Grout
4412c12929
Simplify code by using Promises in a better way; try_load -> load
11 years ago
Jonathan Frederic
c41dcb35e9
Proxy console.error calls
11 years ago
Jonathan Frederic
2eae36ac9a
Use load_class in comms instead of callbacks.
11 years ago
Jonathan Frederic
5a745be138
Add Promise support to models.
11 years ago
Jonathan Frederic
78c0bbdb4d
Fix view rendering order.
11 years ago
Jonathan Frederic
4beda5d0fb
Initial stab at adding promises to the widget framework.
11 years ago
Jason Grout
ff680583c1
initial take on promises
11 years ago
MinRK
29e49329e2
use CodeMirror.runMode to highlight in markdown
...
instead of highlight.js
11 years ago
Min RK
388fec4f96
Merge pull request #6924 from takluyver/contents-promises
...
Use promises in the JS contents API
11 years ago
Thomas Kluyver
3dbb600968
Merge pull request #6940 from takluyver/i6937
...
Just use notebook_path in download URLs
11 years ago
Thomas Kluyver
f7860ce9d2
Remove trailing comma
11 years ago
Thomas Kluyver
8d9d317e91
Merge pull request #6857 from jdfreder/celltoolbar_metadata_fix
...
Fix bug cell toolbars not redrawing on metadata change
11 years ago
Thomas Kluyver
8c962df79c
Load promises polyfill from a script tag
...
So all JS code can assume promises work, without needing to require it.
11 years ago
Thomas Kluyver
7240d2dafc
Just use notebook_path in download URLs
...
notebook_name is now superfluous
Closes gh-6937
11 years ago
Jonathan Frederic
f2b6697098
Use a property instead of a setter method
11 years ago
Kyle Kelley
d029a3f4a3
Fix link to /tree.
11 years ago
Thomas Kluyver
d3699c8e3b
Update JS docstrings in contents API
11 years ago
Thomas Kluyver
1e53c1f924
Re-raise errors with throw instead of Promise.reject()
11 years ago
Thomas Kluyver
d04e41251d
Merge pull request #6915 from minrk/contents-no-0
...
use Untitled instead of Untitled0
11 years ago
Thomas Kluyver
0295f5a487
Semicolons
11 years ago
Min RK
f569ccc58f
Merge pull request #6920 from SylvainCorlay/serialize_date
...
Dates and Strings are JavaScript objects, and _pack_models behaves incorrectly in these cases.
11 years ago
Min RK
dcfaaf6acb
Merge pull request #6922 from SylvainCorlay/checkbox_height
...
Correct height for the checkbox widget
11 years ago
Min RK
48d77b3f03
Merge pull request #6886 from minrk/tornado-4
...
require tornado 4
11 years ago
Thomas Kluyver
56320588da
Return JSON from contents API checkpoint methods
11 years ago