Thomas Kluyver
d211ebf067
Basic infrastructure for terminal page
11 years ago
Matthias BUSSONNIER
5b355936df
Update to codemirror 4
...
Update to codemirror 4.6 and update most notebook to work wiht it
this include keyevent that where triggerd twice and the re-writing of
ipython-gfm anf ipython mode to work with require.
11 years ago
MinRK
a060056e36
remove unused dateformat
...
we are using moment.js for dates now
11 years ago
Matthias BUSSONNIER
8b20aee32e
use momentjs for nice dates
12 years ago
Paul Ivanov
b67aac5aef
Merge pull request #6119 from minrk/global-events
...
return global events from require(['base/js/events']).
12 years ago
Matthias Bussonnier
16d21d3267
Merge pull request #6188 from jasongrout/highlightjs-require-shim
...
Add a requirejs shim for highlight.js
12 years ago
Jason Grout
3fc4442053
Move shim to the standard location
12 years ago
MinRK
e9da9fd776
don’t load custom.js in page template
...
we are loading it in require, and don’t want to load it twice
12 years ago
MinRK
d345546d15
add bootstrap shim for require
...
it was possible for bootstrap js to load before jquery,
causing failures in the dashboard.
12 years ago
Matthias BUSSONNIER
17afb5a71f
remove pagemain.js
...
It does not seem to be usefull anymore.
The different main.js of /tree /notebook /etc do create an instance of
`page` themselves, error pages do have hardcoded styles that show header
and sites.
12 years ago
Jonathan Frederic
2478fac032
More requirejs fixes
12 years ago
Jonathan Frederic
ee76005bc2
More review changes
12 years ago
Jonathan Frederic
2d7a4a7879
Some JS test fixes
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
855815d207
Make page.html require.js friendly.
12 years ago
Jonathan Frederic
8fd3515794
Post discussion with @ellisonbg
12 years ago
Jonathan Frederic
dec962194f
Update components to point to right branch
12 years ago
Jonathan Frederic
d88daf1bb7
Ran jdfreder/bootstrap2to3
12 years ago
Jonathan Frederic
5c47651786
Get notebook running with Bootstrap3
12 years ago
Matthias BUSSONNIER
816df5bb34
Allow to pass option to jinja env
...
Mainly to pass cache_size=-1 while developping not to cache templates
12 years ago
MinRK
69cba774d9
Some template static_url tweaks
...
- don't try to include version in static_urls that don't point to files
- use full static_urls (with extension) for backbone and underscore, so version can be computed
closes #5141
12 years ago
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
12 years ago
Jonathan Frederic
8891750535
Fixed static_url call which is no longer optionally 1 param
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
40a923c5b6
Lots of updates to widget(s) js
...
Use require.js (again)
Allow IntTextView and FloatTextView to be used without min/max
12 years ago
Jonathan Frederic
990303f3eb
Removed require.js scheme since it forces async event driven model,
...
this model does not work with the comm/widget communication model.
We need to be able to load the dependencies before we send the
show() message to the widget manager. Otherwise a race condition
will exist where the widget manager may recieve the show message
before the dependencies have been loaded (happened almost every time).
12 years ago
Jonathan Frederic
c9d604d54e
Use require.js where possible.
12 years ago
Jonathan Frederic
a1f6d0fe02
Added dependencies to page.html template and added widget.js to notebook.html
12 years ago
MinRK
063bfa9688
we don't bundle lessc anymore, remove its vestiges
12 years ago
MinRK
15780ad055
restore use of tornado static_url
...
instead of jinja macro that doesn't write hashes
closes #4714
12 years ago
MinRK
f8ddcffacb
allow `require("nbextensions/extname")` to load from IPYTHONDIR/nbextensions
12 years ago
MinRK
141d088a51
logo link to current tree level
...
rather than top level
12 years ago
MinRK
409a1bb6e1
remove boilerplate.css
...
it is redundant with bootstrap reset
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago