diff --git a/form/_FormWidget.js b/form/_FormWidget.js index a9f8e3d29..e148b0719 100644 --- a/form/_FormWidget.js +++ b/form/_FormWidget.js @@ -1,26 +1,16 @@ define([ "dojo/_base/declare", // declare - "dojo/sniff", // has("dijit-legacy-requires"), has("msapp") - "dojo/_base/kernel", // kernel.deprecated - "dojo/ready", - "../_Widget", + "dojo/sniff", // has("msapp") + "../_WidgetBase", "../_CssStateMixin", "../_TemplatedMixin", "./_FormWidgetMixin" -], function(declare, has, kernel, ready, _Widget, _CssStateMixin, _TemplatedMixin, _FormWidgetMixin){ +], function(declare, has, _WidgetBase, _CssStateMixin, _TemplatedMixin, _FormWidgetMixin){ // module: // dijit/form/_FormWidget - // Back compat w/1.6, remove for 2.0 - if(has("dijit-legacy-requires")){ - ready(0, function(){ - var requires = ["dijit/form/_FormValueWidget"]; - require(requires); // use indirection so modules not rolled into a build - }); - } - - return declare("dijit.form._FormWidget", [_Widget, _TemplatedMixin, _CssStateMixin, _FormWidgetMixin], { + return declare("dijit.form._FormWidget", [_WidgetBase, _TemplatedMixin, _CssStateMixin, _FormWidgetMixin], { // summary: // Base class for widgets corresponding to native HTML elements such as `` or `