##// END OF EJS Templates
Fix instantiating config in editor and terminal
Thomas Kluyver -
Show More
@@ -32,7 +32,7 require([
32 32 contents = new contents.Contents({base_url: base_url});
33 33 var config = new configmod.ConfigSection('edit', {base_url: base_url});
34 34 config.load();
35 var common_config = new configmod.ConfigSection('common', common_options);
35 var common_config = new configmod.ConfigSection('common', {base_url: base_url});
36 36 common_config.load();
37 37
38 38 var editor = new editmod.Editor('#texteditor-container', {
@@ -19,7 +19,8 require([
19 19 ){
20 20 page = new page.Page();
21 21
22 var common_config = new configmod.ConfigSection('common', common_options);
22 var common_config = new configmod.ConfigSection('common',
23 {base_url: utils.get_body_data('baseUrl')});
23 24 common_config.load();
24 25
25 26 // Test size: 25x80
General Comments 0
You need to be logged in to leave comments. Login now