diff --git a/Calendar.js b/Calendar.js index 4fa5a5e28..381c5c915 100644 --- a/Calendar.js +++ b/Calendar.js @@ -11,17 +11,17 @@ define([ "dojo/on", "dojo/sniff", // has("ie") "./CalendarLite", - "./_Widget", + "./_WidgetBase", "./_CssStateMixin", "./_TemplatedMixin", "./form/DropDownButton" -], function(array, date, local, declare, domAttr, domClass, kernel, keys, lang, on, has, CalendarLite, _Widget, _CssStateMixin, _TemplatedMixin, DropDownButton){ +], function(array, date, local, declare, domAttr, domClass, kernel, keys, lang, on, has, CalendarLite, _WidgetBase, _CssStateMixin, _TemplatedMixin, DropDownButton){ // module: // dijit/Calendar var Calendar = declare("dijit.Calendar", - [CalendarLite, _Widget, _CssStateMixin], // _Widget for deprecated methods like setAttribute() + [CalendarLite, _WidgetBase, _CssStateMixin], // _WidgetBase for deprecated methods like setAttribute() { // summary: // A simple GUI for choosing a date in the context of a monthly calendar. @@ -285,7 +285,7 @@ define([ } }); - Calendar._MonthDropDown = declare("dijit.Calendar._MonthDropDown", [_Widget, _TemplatedMixin], { + Calendar._MonthDropDown = declare("dijit.Calendar._MonthDropDown", [_WidgetBase, _TemplatedMixin], { // summary: // The list-of-months drop down from the MonthDropDownButton diff --git a/ColorPalette.js b/ColorPalette.js index bae06813d..07e7b4eed 100644 --- a/ColorPalette.js +++ b/ColorPalette.js @@ -1,7 +1,7 @@ define([ "require", // require.toUrl "dojo/text!./templates/ColorPalette.html", - "./_Widget", // used also to load dijit/hccss for setting has("highcontrast") + "./_WidgetBase", "./_TemplatedMixin", "./_PaletteMixin", "./hccss", // has("highcontrast") @@ -12,13 +12,13 @@ define([ "dojo/string", // string.substitute "dojo/i18n!dojo/nls/colors", // translations "dojo/colors" // extend dojo.Color w/names of other colors -], function(require, template, _Widget, _TemplatedMixin, _PaletteMixin, has, i18n, Color, +], function(require, template, _WidgetBase, _TemplatedMixin, _PaletteMixin, has, i18n, Color, declare, domConstruct, string){ // module: // dijit/ColorPalette - var ColorPalette = declare("dijit.ColorPalette", [_Widget, _TemplatedMixin, _PaletteMixin], { + var ColorPalette = declare("dijit.ColorPalette", [_WidgetBase, _TemplatedMixin, _PaletteMixin], { // summary: // A keyboard accessible color-picking widget // description: diff --git a/Declaration.js b/Declaration.js index 3c8614881..13238caa0 100644 --- a/Declaration.js +++ b/Declaration.js @@ -5,16 +5,16 @@ define([ "dojo/_base/lang", // lang.getObject "dojo/parser", // parser._functionFromScript "dojo/query", // query - "./_Widget", + "./_WidgetBase", "./_TemplatedMixin", "./_WidgetsInTemplateMixin", "dojo/NodeList-dom" -], function(array, aspect, declare, lang, parser, query, _Widget, _TemplatedMixin, _WidgetsInTemplateMixin){ +], function(array, aspect, declare, lang, parser, query, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin){ // module: // dijit/Declaration - return declare("dijit.Declaration", _Widget, { + return declare("dijit.Declaration", _WidgetBase, { // summary: // The Declaration widget allows a developer to declare new widget // classes directly from a snippet of markup. @@ -38,7 +38,7 @@ define([ // mixins: [const] String[] // List containing the prototype for this widget, and also any mixins, - // ex: ["dijit._Widget", "dijit._Container"] + // ex: ["dijit._WidgetBase", "dijit._Container"] mixins: [], buildRendering: function(){ @@ -70,7 +70,7 @@ define([ if(this.mixins.length){ this.mixins = array.map(this.mixins, function(name){ return lang.getObject(name); } ); }else{ - this.mixins = [ _Widget, _TemplatedMixin, _WidgetsInTemplateMixin ]; + this.mixins = [ _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin ]; } propList._skipNodeCache = true; diff --git a/Dialog.js b/Dialog.js index 45bd7fa79..1bf46598a 100644 --- a/Dialog.js +++ b/Dialog.js @@ -19,7 +19,7 @@ define([ "dojo/dnd/TimedMoveable", // TimedMoveable "./focus", "./_base/manager", // manager.defaultDuration - "./_Widget", + "./_WidgetBase", "./_TemplatedMixin", "./_CssStateMixin", "./form/_FormMixin", @@ -30,7 +30,7 @@ define([ "dojo/i18n!./nls/common" ], function(require, array, aspect, declare, Deferred, dom, domClass, domGeometry, domStyle, fx, i18n, keys, lang, on, ready, has, winUtils, - Moveable, TimedMoveable, focus, manager, _Widget, _TemplatedMixin, _CssStateMixin, _FormMixin, _DialogMixin, + Moveable, TimedMoveable, focus, manager, _WidgetBase, _TemplatedMixin, _CssStateMixin, _FormMixin, _DialogMixin, DialogUnderlay, ContentPane, template){ // module: diff --git a/DialogUnderlay.js b/DialogUnderlay.js index 0621f8b0e..1c8ed8cd7 100644 --- a/DialogUnderlay.js +++ b/DialogUnderlay.js @@ -6,7 +6,7 @@ define([ "dojo/dom-style", // domStyle.getComputedStyle "dojo/on", "dojo/window", // winUtils.getBox, winUtils.get - "./_Widget", + "./_WidgetBase", "./_TemplatedMixin", "./BackgroundIframe", "./Viewport", @@ -17,7 +17,7 @@ define([ // module: // dijit/DialogUnderlay - var DialogUnderlay = declare("dijit.DialogUnderlay", [_Widget, _TemplatedMixin], { + var DialogUnderlay = declare("dijit.DialogUnderlay", [_WidgetBase, _TemplatedMixin], { // summary: // A component used to block input behind a `dijit/Dialog`. // diff --git a/InlineEditBox.js b/InlineEditBox.js index ab78ce568..af59080f9 100644 --- a/InlineEditBox.js +++ b/InlineEditBox.js @@ -16,7 +16,7 @@ define([ "dojo/when", "./a11yclick", "./focus", - "./_Widget", + "./_WidgetBase", "./_TemplatedMixin", "./_WidgetsInTemplateMixin", "./_Container", @@ -25,12 +25,12 @@ define([ "./form/TextBox", "dojo/text!./templates/InlineEditBox.html", "dojo/i18n!./nls/common" -], function(require, array, aspect, declare, domAttr, domClass, domConstruct, domStyle, i18n, kernel, keys, lang, on, has, when, a11yclick, fm, _Widget, _TemplatedMixin, _WidgetsInTemplateMixin, _Container, Button, _TextBoxMixin, TextBox, template){ +], function(require, array, aspect, declare, domAttr, domClass, domConstruct, domStyle, i18n, kernel, keys, lang, on, has, when, a11yclick, fm, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, _Container, Button, _TextBoxMixin, TextBox, template){ // module: // dijit/InlineEditBox - var InlineEditor = declare("dijit._InlineEditor", [_Widget, _TemplatedMixin, _WidgetsInTemplateMixin], { + var InlineEditor = declare("dijit._InlineEditor", [_WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin], { // summary: // Internal widget used by InlineEditBox, displayed when in editing mode // to display the editor and maybe save/cancel buttons. Calling code should @@ -255,7 +255,7 @@ define([ }); - var InlineEditBox = declare("dijit.InlineEditBox" + (has("dojo-bidi") ? "_NoBidi" : ""), _Widget, { + var InlineEditBox = declare("dijit.InlineEditBox" + (has("dojo-bidi") ? "_NoBidi" : ""), _WidgetBase, { // summary: // An element with in-line edit capabilities // diff --git a/MenuItem.js b/MenuItem.js index edd9747c1..8db35baa1 100644 --- a/MenuItem.js +++ b/MenuItem.js @@ -6,19 +6,20 @@ define([ "dojo/_base/kernel", // kernel.deprecated "dojo/sniff", // has("ie") "dojo/_base/lang", // lang.hitch - "./_Widget", + "./_WidgetBase", "./_TemplatedMixin", "./_Contained", "./_CssStateMixin", "dojo/text!./templates/MenuItem.html" ], function(declare, dom, domAttr, domClass, kernel, has, lang, - _Widget, _TemplatedMixin, _Contained, _CssStateMixin, template){ + _WidgetBase, _TemplatedMixin, _Contained, _CssStateMixin, template){ // module: // dijit/MenuItem var MenuItem = declare("dijit.MenuItem" + (has("dojo-bidi") ? "_NoBidi" : ""), - [_Widget, _TemplatedMixin, _Contained, _CssStateMixin], { + [_WidgetBase, _TemplatedMixin, _Contained, _CssStateMixin], { + // summary: // A line item in a Menu Widget diff --git a/ProgressBar.js b/ProgressBar.js index e006bfd6f..2def8cd8c 100644 --- a/ProgressBar.js +++ b/ProgressBar.js @@ -4,15 +4,15 @@ define([ "dojo/dom-class", // domClass.toggle "dojo/_base/lang", // lang.mixin "dojo/number", // number.format - "./_Widget", + "./_WidgetBase", "./_TemplatedMixin", "dojo/text!./templates/ProgressBar.html" -], function(require, declare, domClass, lang, number, _Widget, _TemplatedMixin, template){ +], function(require, declare, domClass, lang, number, _WidgetBase, _TemplatedMixin, template){ // module: // dijit/ProgressBar - return declare("dijit.ProgressBar", [_Widget, _TemplatedMixin], { + return declare("dijit.ProgressBar", [_WidgetBase, _TemplatedMixin], { // summary: // A progress indication widget, showing the amount completed // (often the percentage completed) of a task. diff --git a/Toolbar.js b/Toolbar.js index 43c9a59c7..6202f24d0 100644 --- a/Toolbar.js +++ b/Toolbar.js @@ -3,15 +3,15 @@ define([ "dojo/_base/declare", // declare "dojo/has", "dojo/keys", // keys.LEFT_ARROW keys.RIGHT_ARROW - "./_Widget", + "./_WidgetBase", "./_KeyNavContainer", "./_TemplatedMixin" -], function(require, declare, has, keys, _Widget, _KeyNavContainer, _TemplatedMixin){ +], function(require, declare, has, keys, _WidgetBase, _KeyNavContainer, _TemplatedMixin){ // module: // dijit/Toolbar - return declare("dijit.Toolbar", [_Widget, _TemplatedMixin, _KeyNavContainer], { + return declare("dijit.Toolbar", [_WidgetBase, _TemplatedMixin, _KeyNavContainer], { // summary: // A Toolbar widget, used to hold things like `dijit.Editor` buttons diff --git a/ToolbarSeparator.js b/ToolbarSeparator.js index 2ec64203d..0e98ef50e 100644 --- a/ToolbarSeparator.js +++ b/ToolbarSeparator.js @@ -1,15 +1,15 @@ define([ "dojo/_base/declare", // declare "dojo/dom", // dom.setSelectable - "./_Widget", + "./_WidgetBase", "./_TemplatedMixin" -], function(declare, dom, _Widget, _TemplatedMixin){ +], function(declare, dom, _WidgetBase, _TemplatedMixin){ // module: // dijit/ToolbarSeparator - return declare("dijit.ToolbarSeparator", [_Widget, _TemplatedMixin], { + return declare("dijit.ToolbarSeparator", [_WidgetBase, _TemplatedMixin], { // summary: // A spacer between two `dijit.Toolbar` items diff --git a/Tooltip.js b/Tooltip.js index 683585340..2bfa07426 100644 --- a/Tooltip.js +++ b/Tooltip.js @@ -12,13 +12,13 @@ define([ "dojo/sniff", // has("ie") "./_base/manager", // manager.defaultDuration "./place", - "./_Widget", + "./_WidgetBase", "./_TemplatedMixin", "./BackgroundIframe", "dojo/text!./templates/Tooltip.html", "./main" // sets dijit.showTooltip etc. for back-compat ], function(array, declare, fx, dom, domClass, domGeometry, domStyle, lang, mouse, on, has, - manager, place, _Widget, _TemplatedMixin, BackgroundIframe, template, dijit){ + manager, place, _WidgetBase, _TemplatedMixin, BackgroundIframe, template, dijit){ // module: // dijit/Tooltip @@ -32,7 +32,7 @@ define([ // The problem is that Tooltip's implementation supplies it's own