##// END OF EJS Templates
Added standard IPY JS header to widget JS files.
Jonathan Frederic -
Show More
@@ -1,3 +1,14 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // Basic Widgets
10 //============================================================================
11
1 define([
12 define([
2 "notebook/js/widgets/bool",
13 "notebook/js/widgets/bool",
3 "notebook/js/widgets/button",
14 "notebook/js/widgets/button",
@@ -9,4 +20,4 b' define(['
9 "notebook/js/widgets/multicontainer",
20 "notebook/js/widgets/multicontainer",
10 "notebook/js/widgets/selection",
21 "notebook/js/widgets/selection",
11 "notebook/js/widgets/string",
22 "notebook/js/widgets/string",
12 ]); No newline at end of file
23 ]);
@@ -1,3 +1,18 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // BoolWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
1
16
2 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
3
18
@@ -1,3 +1,18 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // ButtonWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
1
16
2 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
3
18
@@ -1,3 +1,19 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // ContainerWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
16
1 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
2 var ContainerModel = IPython.WidgetModel.extend({});
18 var ContainerModel = IPython.WidgetModel.extend({});
3 IPython.widget_manager.register_widget_model('ContainerWidgetModel', ContainerModel);
19 IPython.widget_manager.register_widget_model('ContainerWidgetModel', ContainerModel);
@@ -1,3 +1,19 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // FloatWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
16
1 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
2 var FloatWidgetModel = IPython.WidgetModel.extend({});
18 var FloatWidgetModel = IPython.WidgetModel.extend({});
3 IPython.widget_manager.register_widget_model('FloatWidgetModel', FloatWidgetModel);
19 IPython.widget_manager.register_widget_model('FloatWidgetModel', FloatWidgetModel);
@@ -1,3 +1,19 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // FloatRangeWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
16
1 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
2 var FloatRangeWidgetModel = IPython.WidgetModel.extend({});
18 var FloatRangeWidgetModel = IPython.WidgetModel.extend({});
3 IPython.widget_manager.register_widget_model('FloatRangeWidgetModel', FloatRangeWidgetModel);
19 IPython.widget_manager.register_widget_model('FloatRangeWidgetModel', FloatRangeWidgetModel);
@@ -1,3 +1,19 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // IntWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
16
1 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
2 var IntWidgetModel = IPython.WidgetModel.extend({});
18 var IntWidgetModel = IPython.WidgetModel.extend({});
3 IPython.widget_manager.register_widget_model('IntWidgetModel', IntWidgetModel);
19 IPython.widget_manager.register_widget_model('IntWidgetModel', IntWidgetModel);
@@ -1,3 +1,19 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // IntRangeWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
16
1 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
2 var IntRangeWidgetModel = IPython.WidgetModel.extend({});
18 var IntRangeWidgetModel = IPython.WidgetModel.extend({});
3 IPython.widget_manager.register_widget_model('IntRangeWidgetModel', IntRangeWidgetModel);
19 IPython.widget_manager.register_widget_model('IntRangeWidgetModel', IntRangeWidgetModel);
@@ -1,3 +1,19 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // MultiContainerWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
16
1 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
2 var MulticontainerModel = IPython.WidgetModel.extend({});
18 var MulticontainerModel = IPython.WidgetModel.extend({});
3 IPython.widget_manager.register_widget_model('MulticontainerWidgetModel', MulticontainerModel);
19 IPython.widget_manager.register_widget_model('MulticontainerWidgetModel', MulticontainerModel);
@@ -1,3 +1,19 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // SelectionWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
16
1 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
2 var SelectionWidgetModel = IPython.WidgetModel.extend({});
18 var SelectionWidgetModel = IPython.WidgetModel.extend({});
3 IPython.widget_manager.register_widget_model('SelectionWidgetModel', SelectionWidgetModel);
19 IPython.widget_manager.register_widget_model('SelectionWidgetModel', SelectionWidgetModel);
@@ -1,3 +1,19 b''
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2013 The IPython Development Team
3 //
4 // Distributed under the terms of the BSD License. The full license is in
5 // the file COPYING, distributed as part of this software.
6 //----------------------------------------------------------------------------
7
8 //============================================================================
9 // StringWidget
10 //============================================================================
11
12 /**
13 * @module IPython
14 * @namespace IPython
15 **/
16
1 define(["notebook/js/widget"], function(){
17 define(["notebook/js/widget"], function(){
2 var StringWidgetModel = IPython.WidgetModel.extend({});
18 var StringWidgetModel = IPython.WidgetModel.extend({});
3 IPython.widget_manager.register_widget_model('StringWidgetModel', StringWidgetModel);
19 IPython.widget_manager.register_widget_model('StringWidgetModel', StringWidgetModel);
General Comments 0
You need to be logged in to leave comments. Login now