##// END OF EJS Templates
Merge pull request #7248 from Carreau/config-ctm...
Thomas Kluyver -
r19589:15640474 merge
parent child Browse files
Show More
@@ -60,6 +60,8 b' require(['
60 notebook_name : utils.get_body_data('notebookName')
60 notebook_name : utils.get_body_data('notebookName')
61 };
61 };
62
62
63 var config_section = new configmod.ConfigSection('notebook', common_options);
64 config_section.load();
63 var page = new page.Page();
65 var page = new page.Page();
64 var pager = new pager.Pager('div#pager', {
66 var pager = new pager.Pager('div#pager', {
65 events: events});
67 events: events});
@@ -72,10 +74,8 b' require(['
72 events: events,
74 events: events,
73 keyboard_manager: keyboard_manager});
75 keyboard_manager: keyboard_manager});
74 var contents = new contents.Contents($.extend({
76 var contents = new contents.Contents($.extend({
75 events: events},
77 events: events, config:config_section},
76 common_options));
78 common_options));
77 var config_section = new configmod.ConfigSection('notebook', common_options);
78 config_section.load();
79 var notebook = new notebook.Notebook('div#notebook', $.extend({
79 var notebook = new notebook.Notebook('div#notebook', $.extend({
80 events: events,
80 events: events,
81 keyboard_manager: keyboard_manager,
81 keyboard_manager: keyboard_manager,
General Comments 0
You need to be logged in to leave comments. Login now