Merge pull request #5173 from jdfreder/movewidgets

Moved widget files into static/widgets/*
This commit is contained in:
Jonathan Frederic 2014-02-25 16:14:10 -08:00
commit 6c1ef48f1a
14 changed files with 21 additions and 21 deletions

View File

@ -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";

View File

@ -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; });

View File

@ -14,7 +14,7 @@
* @namespace IPython
**/
define(["notebook/js/widgetmanager",
define(["widgets/js/manager",
"underscore",
"backbone"],
function(WidgetManager, _, Backbone){

View File

@ -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(){

View File

@ -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(){

View File

@ -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(){

View File

@ -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];

View File

@ -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(){

View File

@ -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(){

View File

@ -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(){

View File

@ -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(){

View File

@ -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(){