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