mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
Merge pull request #5173 from jdfreder/movewidgets
Moved widget files into static/widgets/*
This commit is contained in:
commit
6c1ef48f1a
@ -14,7 +14,7 @@
|
|||||||
// which make both this file fail at setting marked configuration, and textcell.js
|
// which make both this file fail at setting marked configuration, and textcell.js
|
||||||
// which search marked into global.
|
// which search marked into global.
|
||||||
require(['components/marked/lib/marked',
|
require(['components/marked/lib/marked',
|
||||||
'notebook/js/widgets/init'],
|
'widgets/js/init'],
|
||||||
|
|
||||||
function (marked) {
|
function (marked) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
define([
|
define([
|
||||||
"notebook/js/widgets/widget_bool",
|
"widgets/js/widget_bool",
|
||||||
"notebook/js/widgets/widget_button",
|
"widgets/js/widget_button",
|
||||||
"notebook/js/widgets/widget_container",
|
"widgets/js/widget_container",
|
||||||
"notebook/js/widgets/widget_float",
|
"widgets/js/widget_float",
|
||||||
"notebook/js/widgets/widget_image",
|
"widgets/js/widget_image",
|
||||||
"notebook/js/widgets/widget_int",
|
"widgets/js/widget_int",
|
||||||
"notebook/js/widgets/widget_selection",
|
"widgets/js/widget_selection",
|
||||||
"notebook/js/widgets/widget_selectioncontainer",
|
"widgets/js/widget_selectioncontainer",
|
||||||
"notebook/js/widgets/widget_string",
|
"widgets/js/widget_string",
|
||||||
], function(){ return true; });
|
], function(){ return true; });
|
@ -14,7 +14,7 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgetmanager",
|
define(["widgets/js/manager",
|
||||||
"underscore",
|
"underscore",
|
||||||
"backbone"],
|
"backbone"],
|
||||||
function(WidgetManager, _, Backbone){
|
function(WidgetManager, _, Backbone){
|
@ -14,7 +14,7 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
define(["widgets/js/widget"], function(WidgetManager){
|
||||||
|
|
||||||
var CheckboxView = IPython.DOMWidgetView.extend({
|
var CheckboxView = IPython.DOMWidgetView.extend({
|
||||||
render : function(){
|
render : function(){
|
@ -14,7 +14,7 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
define(["widgets/js/widget"], function(WidgetManager){
|
||||||
|
|
||||||
var ButtonView = IPython.DOMWidgetView.extend({
|
var ButtonView = IPython.DOMWidgetView.extend({
|
||||||
render : function(){
|
render : function(){
|
@ -14,7 +14,7 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgets/widget"], function(WidgetManager) {
|
define(["widgets/js/widget"], function(WidgetManager) {
|
||||||
|
|
||||||
var ContainerView = IPython.DOMWidgetView.extend({
|
var ContainerView = IPython.DOMWidgetView.extend({
|
||||||
render: function(){
|
render: function(){
|
@ -14,8 +14,8 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgets/widget",
|
define(["widgets/js/widget",
|
||||||
"notebook/js/widgets/widget_int"],
|
"widgets/js/widget_int"],
|
||||||
function(WidgetManager, int_widgets){
|
function(WidgetManager, int_widgets){
|
||||||
|
|
||||||
var IntSliderView = int_widgets[0];
|
var IntSliderView = int_widgets[0];
|
@ -14,7 +14,7 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
define(["widgets/js/widget"], function(WidgetManager){
|
||||||
|
|
||||||
var ImageView = IPython.DOMWidgetView.extend({
|
var ImageView = IPython.DOMWidgetView.extend({
|
||||||
render : function(){
|
render : function(){
|
@ -14,7 +14,7 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
define(["widgets/js/widget"], function(WidgetManager){
|
||||||
|
|
||||||
var IntSliderView = IPython.DOMWidgetView.extend({
|
var IntSliderView = IPython.DOMWidgetView.extend({
|
||||||
render : function(){
|
render : function(){
|
@ -14,7 +14,7 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
define(["widgets/js/widget"], function(WidgetManager){
|
||||||
|
|
||||||
var DropdownView = IPython.DOMWidgetView.extend({
|
var DropdownView = IPython.DOMWidgetView.extend({
|
||||||
render : function(){
|
render : function(){
|
@ -14,7 +14,7 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
define(["widgets/js/widget"], function(WidgetManager){
|
||||||
|
|
||||||
var AccordionView = IPython.DOMWidgetView.extend({
|
var AccordionView = IPython.DOMWidgetView.extend({
|
||||||
render: function(){
|
render: function(){
|
@ -14,7 +14,7 @@
|
|||||||
* @namespace IPython
|
* @namespace IPython
|
||||||
**/
|
**/
|
||||||
|
|
||||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
define(["widgets/js/widget"], function(WidgetManager){
|
||||||
|
|
||||||
var HTMLView = IPython.DOMWidgetView.extend({
|
var HTMLView = IPython.DOMWidgetView.extend({
|
||||||
render : function(){
|
render : function(){
|
Loading…
Reference in New Issue
Block a user