Skip to content

Commit

Permalink
Slider: remove deprecated API's
Browse files Browse the repository at this point in the history
- stop using ${nameAttrSetting} (only needed for IE6, IE7)
- extend _WidgetBase rather than _Widget
  • Loading branch information
wkeese committed Apr 30, 2013
1 parent a3ba8bf commit 8a23670
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions form/HorizontalRule.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
define([
"dojo/_base/declare", // declare
"../_Widget",
"../_WidgetBase",
"../_TemplatedMixin"
], function(declare, _Widget, _TemplatedMixin){
], function(declare, _WidgetBase, _TemplatedMixin){

// module:
// dijit/form/HorizontalRule

return declare("dijit.form.HorizontalRule", [_Widget, _TemplatedMixin], {
return declare("dijit.form.HorizontalRule", [_WidgetBase, _TemplatedMixin], {
// summary:
// Hash marks for `dijit/form/HorizontalSlider`

Expand Down
2 changes: 1 addition & 1 deletion form/templates/HorizontalSlider.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper" data-dojo-attach-event="press:_onClkDecBumper"></div
></td
><td class="dijitReset"
><input data-dojo-attach-point="valueNode" type="hidden" ${!nameAttrSetting}
><input data-dojo-attach-point="valueNode" type="hidden"
/><div class="dijitReset dijitSliderBarContainerH" role="presentation" data-dojo-attach-point="sliderBarContainer"
><div role="presentation" data-dojo-attach-point="progressBar" class="dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH" data-dojo-attach-event="press:_onBarClick"
><div class="dijitSliderMoveable dijitSliderMoveableH"
Expand Down
2 changes: 1 addition & 1 deletion form/templates/VerticalSlider.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
><tr class="dijitReset"
><td data-dojo-attach-point="leftDecoration" class="dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV"></td
><td class="dijitReset dijitSliderDecorationC" style="height:100%;"
><input data-dojo-attach-point="valueNode" type="hidden" ${!nameAttrSetting}
><input data-dojo-attach-point="valueNode" type="hidden"
/><center class="dijitReset dijitSliderBarContainerV" role="presentation" data-dojo-attach-point="sliderBarContainer"
><div role="presentation" data-dojo-attach-point="remainingBar" class="dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV" data-dojo-attach-event="press:_onBarClick"><!--#5629--></div
><div role="presentation" data-dojo-attach-point="progressBar" class="dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV" data-dojo-attach-event="press:_onBarClick"
Expand Down

0 comments on commit 8a23670

Please sign in to comment.