##// END OF EJS Templates
get rid of most slowdown at notebook loading....
get rid of most slowdown at notebook loading. 1) Do not setOption('mode',new_mode) on CM if new and old mode are the same. It triggert **a lot** of calculation of bounding box in the end. 2) Do **not** select cell when loading the notebook it triggers **a lot** of CM even that check visible things and so on and so forth. So add a option to add_cell_at_index not to select it 3) jQuery $.attr has some magics, but has a slight overhead on real native ELEM.setAttribute DOM method. Seem slight improvement when loads of PNGs on one page

File last commit:

r11033:fa36e98f
r13573:417940c5
Show More
variables.less
9 lines | 295 B | text/x-less | LessCssLexer
Brian E. Granger
More movign around of things in notebook and js/less.
r10703
Brian E. Granger
Going back to a single style.less and style.min.css.
r10714 // Our own variables for this page
Brian E. Granger
Adding files that I mised in the last commit.
r10713
Brian E. Granger
Fixing global less vars to use bootstrap.
r10727 @cell_selected_background: darken(@bodyBackground, 2%);
@cell_background: darken(@bodyBackground, 3.2%);
Brian E. Granger
Cleaning up less/css.
r10707 @border_color: darken(@cell_selected_background, 31%);
@light_border_color: darken(@cell_selected_background, 17%);
Brian E. Granger
Fixing less variable names to use_the_right_convention.
r10715 @border_width: 1px;
Brian E. Granger
Adding files that I mised in the last commit.
r10713