mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +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 search marked into global.
|
||||
require(['components/marked/lib/marked',
|
||||
'notebook/js/widgets/init'],
|
||||
'widgets/js/init'],
|
||||
|
||||
function (marked) {
|
||||
"use strict";
|
||||
|
@ -10,13 +10,13 @@
|
||||
//============================================================================
|
||||
|
||||
define([
|
||||
"notebook/js/widgets/widget_bool",
|
||||
"notebook/js/widgets/widget_button",
|
||||
"notebook/js/widgets/widget_container",
|
||||
"notebook/js/widgets/widget_float",
|
||||
"notebook/js/widgets/widget_image",
|
||||
"notebook/js/widgets/widget_int",
|
||||
"notebook/js/widgets/widget_selection",
|
||||
"notebook/js/widgets/widget_selectioncontainer",
|
||||
"notebook/js/widgets/widget_string",
|
||||
"widgets/js/widget_bool",
|
||||
"widgets/js/widget_button",
|
||||
"widgets/js/widget_container",
|
||||
"widgets/js/widget_float",
|
||||
"widgets/js/widget_image",
|
||||
"widgets/js/widget_int",
|
||||
"widgets/js/widget_selection",
|
||||
"widgets/js/widget_selectioncontainer",
|
||||
"widgets/js/widget_string",
|
||||
], function(){ return true; });
|
@ -14,7 +14,7 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgetmanager",
|
||||
define(["widgets/js/manager",
|
||||
"underscore",
|
||||
"backbone"],
|
||||
function(WidgetManager, _, Backbone){
|
@ -14,7 +14,7 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
||||
define(["widgets/js/widget"], function(WidgetManager){
|
||||
|
||||
var CheckboxView = IPython.DOMWidgetView.extend({
|
||||
render : function(){
|
@ -14,7 +14,7 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
||||
define(["widgets/js/widget"], function(WidgetManager){
|
||||
|
||||
var ButtonView = IPython.DOMWidgetView.extend({
|
||||
render : function(){
|
@ -14,7 +14,7 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget"], function(WidgetManager) {
|
||||
define(["widgets/js/widget"], function(WidgetManager) {
|
||||
|
||||
var ContainerView = IPython.DOMWidgetView.extend({
|
||||
render: function(){
|
@ -14,8 +14,8 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget",
|
||||
"notebook/js/widgets/widget_int"],
|
||||
define(["widgets/js/widget",
|
||||
"widgets/js/widget_int"],
|
||||
function(WidgetManager, int_widgets){
|
||||
|
||||
var IntSliderView = int_widgets[0];
|
@ -14,7 +14,7 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
||||
define(["widgets/js/widget"], function(WidgetManager){
|
||||
|
||||
var ImageView = IPython.DOMWidgetView.extend({
|
||||
render : function(){
|
@ -14,7 +14,7 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
||||
define(["widgets/js/widget"], function(WidgetManager){
|
||||
|
||||
var IntSliderView = IPython.DOMWidgetView.extend({
|
||||
render : function(){
|
@ -14,7 +14,7 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
||||
define(["widgets/js/widget"], function(WidgetManager){
|
||||
|
||||
var DropdownView = IPython.DOMWidgetView.extend({
|
||||
render : function(){
|
@ -14,7 +14,7 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
||||
define(["widgets/js/widget"], function(WidgetManager){
|
||||
|
||||
var AccordionView = IPython.DOMWidgetView.extend({
|
||||
render: function(){
|
@ -14,7 +14,7 @@
|
||||
* @namespace IPython
|
||||
**/
|
||||
|
||||
define(["notebook/js/widgets/widget"], function(WidgetManager){
|
||||
define(["widgets/js/widget"], function(WidgetManager){
|
||||
|
||||
var HTMLView = IPython.DOMWidgetView.extend({
|
||||
render : function(){
|
Loading…
Reference in New Issue
Block a user