##// END OF EJS Templates
Return dicts instead of classes,...
Jonathan Frederic -
Show More
@@ -2,8 +2,8 b''
2 // Distributed under the terms of the Modified BSD License.
2 // Distributed under the terms of the Modified BSD License.
3
3
4 var ipython = ipython || {};
4 var ipython = ipython || {};
5 require(['base/js/page'], function(Page) {
5 require(['base/js/page'], function(page) {
6 ipython.page = new Page();
6 ipython.page = new page.Page();
7 $('button#login_submit').addClass("btn btn-default");
7 $('button#login_submit').addClass("btn btn-default");
8 ipython.page.show();
8 ipython.page.show();
9 $('input#password_input').focus();
9 $('input#password_input').focus();
@@ -43,5 +43,5 b' define(['
43 // Set module variables
43 // Set module variables
44 IPython.LoginWidget = LoginWidget;
44 IPython.LoginWidget = LoginWidget;
45
45
46 return LoginWidget;
46 return {'LoginWidget': LoginWidget};
47 }); No newline at end of file
47 });
@@ -3,7 +3,7 b''
3
3
4 var ipython = ipython || {};
4 var ipython = ipython || {};
5 require(['base/js/page'], function(Page) {
5 require(['base/js/page'], function(Page) {
6 ipython.page = new Page();
6 ipython.page = new page.Page();
7 $('#ipython-main-app').addClass('border-box-sizing');
7 $('#ipython-main-app').addClass('border-box-sizing');
8 ipython.page.show();
8 ipython.page.show();
9 });
9 });
@@ -154,5 +154,5 b' define(['
154 // Backwards compatability.
154 // Backwards compatability.
155 IPython.Dialog = Dialog;
155 IPython.Dialog = Dialog;
156
156
157 return Dialog;
157 return {'Dialog': Dialog};
158 });
158 });
@@ -15,5 +15,5 b" define(['base/js/namespace'], function(IPython) {"
15 // Backwards compatability.
15 // Backwards compatability.
16 IPython.Events = Events;
16 IPython.Events = Events;
17
17
18 return Events;
18 return {'Events': Events};
19 });
19 });
@@ -44,5 +44,5 b' define(['
44
44
45 // Register self in the global namespace for convenience.
45 // Register self in the global namespace for convenience.
46 IPython.Page = Page;
46 IPython.Page = Page;
47 return Page;
47 return {'Page': Page};
48 });
48 });
@@ -3,6 +3,6 b''
3
3
4 var ipython = ipython || {};
4 var ipython = ipython || {};
5 require(['base/js/page'], function(Page) {
5 require(['base/js/page'], function(Page) {
6 ipython.page = new Page();
6 ipython.page = new page.Page();
7 ipython.page.show();
7 ipython.page.show();
8 });
8 });
@@ -128,5 +128,5 b' define([], function() {'
128 return dateFormat(this, mask, utc);
128 return dateFormat(this, mask, utc);
129 };
129 };
130
130
131 return dateFormat;
131 return {'dateFormat': dateFormat};
132 }); No newline at end of file
132 });
@@ -559,6 +559,6 b' define(['
559 // Backwards compatability.
559 // Backwards compatability.
560 IPython.Cell = Cell;
560 IPython.Cell = Cell;
561
561
562 return Cell;
562 return {'Cell': Cell};
563
563
564 });
564 });
@@ -411,5 +411,5 b' define(['
411 // Backwards compatability.
411 // Backwards compatability.
412 IPython.CellToolbar = CellToolbar;
412 IPython.CellToolbar = CellToolbar;
413
413
414 return CellToolbar;
414 return {'CellToolbar': CellToolbar};
415 });
415 });
@@ -511,5 +511,5 b' define(['
511 // Backwards compatability.
511 // Backwards compatability.
512 IPython.CodeCell = CodeCell;
512 IPython.CodeCell = CodeCell;
513
513
514 return CodeCell;
514 return {'CodeCell': CodeCell};
515 });
515 });
@@ -383,5 +383,5 b' define(['
383 // For backwards compatability.
383 // For backwards compatability.
384 IPython.Completer = Completer;
384 IPython.Completer = Completer;
385
385
386 return Completer;
386 return {'Completer': Completer};
387 });
387 });
@@ -94,5 +94,5 b' define([], function() {'
94 return filterd;
94 return filterd;
95 };
95 };
96
96
97 return CodeMirror.contextHint;
97 return {'contextHint': CodeMirror.contextHint};
98 });
98 });
@@ -555,6 +555,5 b' define(['
555 // For backwards compatability.
555 // For backwards compatability.
556 IPython.KeyboardManager = KeyboardManager;
556 IPython.KeyboardManager = KeyboardManager;
557
557
558 return KeyboardManager;
558 return {'KeyboardManager': KeyboardManager};
559
560 });
559 });
@@ -54,5 +54,5 b' define(['
54 // Backwards compatability.
54 // Backwards compatability.
55 IPython.LayoutManager = LayoutManager;
55 IPython.LayoutManager = LayoutManager;
56
56
57 return LayoutManager;
57 return {'LayoutManager': LayoutManager};
58 });
58 });
@@ -216,5 +216,5 b' define(['
216 // Backwards compatability.
216 // Backwards compatability.
217 IPython.MainToolBar = MainToolBar;
217 IPython.MainToolBar = MainToolBar;
218
218
219 return MainToolBar;
219 return {'MainToolBar': MainToolBar};
220 });
220 });
@@ -343,5 +343,5 b' define(['
343 // Backwards compatability.
343 // Backwards compatability.
344 IPython.MenuBar = MenuBar;
344 IPython.MenuBar = MenuBar;
345
345
346 return MenuBar;
346 return {'MenuBar': MenuBar};
347 });
347 });
@@ -2477,5 +2477,5 b' define(['
2477 // For backwards compatability.
2477 // For backwards compatability.
2478 IPython.Notebook = Notebook;
2478 IPython.Notebook = Notebook;
2479
2479
2480 return Notebook;
2480 return {'Notebook': Notebook};
2481 });
2481 });
@@ -229,5 +229,5 b' define(['
229
229
230 IPython.NotificationArea = NotificationArea;
230 IPython.NotificationArea = NotificationArea;
231
231
232 return NotificationArea;
232 return {'NotificationArea': NotificationArea};
233 });
233 });
@@ -73,5 +73,5 b' define(['
73 // For backwards compatability.
73 // For backwards compatability.
74 IPython.NotificationWidget = NotificationWidget;
74 IPython.NotificationWidget = NotificationWidget;
75
75
76 return NotificationWidget;
76 return {'NotificationWidget': NotificationWidget};
77 });
77 });
@@ -988,5 +988,5 b' define(['
988 // For backwards compatability.
988 // For backwards compatability.
989 IPython.OutputArea = OutputArea;
989 IPython.OutputArea = OutputArea;
990
990
991 return OutputArea;
991 return {'OutputArea': OutputArea};
992 });
992 });
@@ -174,5 +174,5 b' define(['
174 // Backwards compatability.
174 // Backwards compatability.
175 IPython.Pager = Pager;
175 IPython.Pager = Pager;
176
176
177 return Pager;
177 return {'Pager': Pager};
178 });
178 });
@@ -169,5 +169,5 b' define(['
169 // Backwards compatability.
169 // Backwards compatability.
170 IPython.QuickHelp = QuickHelp;
170 IPython.QuickHelp = QuickHelp;
171
171
172 return QuickHelp;
172 return {'QuickHelp': QuickHelp};
173 });
173 });
@@ -167,6 +167,6 b' define(['
167 // Backwards compatability.
167 // Backwards compatability.
168 IPython.SaveWidget = SaveWidget;
168 IPython.SaveWidget = SaveWidget;
169
169
170 return SaveWidget;
170 return {'SaveWidget': SaveWidget};
171
171
172 });
172 });
@@ -97,5 +97,5 b' define(['
97 // Backwards compatability.
97 // Backwards compatability.
98 IPython.ToolBar = ToolBar;
98 IPython.ToolBar = ToolBar;
99
99
100 return ToolBar;
100 return {'ToolBar': ToolBar};
101 });
101 });
@@ -331,5 +331,5 b' define(['
331 // Backwards compatability.
331 // Backwards compatability.
332 IPython.Tooltip = Tooltip;
332 IPython.Tooltip = Tooltip;
333
333
334 return Tooltip;
334 return {'Tooltip': Tooltip};
335 });
335 });
@@ -164,7 +164,7 b' define(['
164 // For backwards compatability.
164 // For backwards compatability.
165 IPython.NotebookTour = NotebookTour;
165 IPython.NotebookTour = NotebookTour;
166
166
167 return NotebookTour;
167 return {'NotebookTour': NotebookTour};
168
168
169 });
169 });
170
170
@@ -608,5 +608,5 b' define(['
608 // Backwards compatability.
608 // Backwards compatability.
609 IPython.Kernel = Kernel;
609 IPython.Kernel = Kernel;
610
610
611 return Kernel;
611 return {'Kernel': Kernel};
612 });
612 });
@@ -112,5 +112,5 b' define(['
112 // For backwards compatability.
112 // For backwards compatability.
113 IPython.Session = Session;
113 IPython.Session = Session;
114
114
115 return Session;
115 return {'Session': Session};
116 });
116 });
@@ -186,5 +186,8 b' define(['
186 IPython.ClusterList = ClusterList;
186 IPython.ClusterList = ClusterList;
187 IPython.ClusterItem = ClusterItem;
187 IPython.ClusterItem = ClusterItem;
188
188
189 return ClusterList;
189 return {
190 'ClusterList': ClusterList,
191 'ClusterItem': ClusterItem,
192 };
190 });
193 });
@@ -30,5 +30,5 b' define(['
30 // Backwards compatability.
30 // Backwards compatability.
31 IPython.KernelList = KernelList;
31 IPython.KernelList = KernelList;
32
32
33 return KernelList;
33 return {'KernelList': KernelList};
34 });
34 });
@@ -434,5 +434,5 b' define(['
434 // Backwards compatability.
434 // Backwards compatability.
435 IPython.NotebookList = NotebookList;
435 IPython.NotebookList = NotebookList;
436
436
437 return NotebookList;
437 return {'NotebookList': NotebookList};
438 });
438 });
@@ -45,5 +45,5 b' define(['
45 // Backwards compatability.
45 // Backwards compatability.
46 IPython.SesssionList = SesssionList;
46 IPython.SesssionList = SesssionList;
47
47
48 return SesssionList;
48 return {'SesssionList': SesssionList};
49 });
49 });
General Comments 0
You need to be logged in to leave comments. Login now