Skip to content

Commit

Permalink
Fix for test case failure in IE due to colliding DOM property.
Browse files Browse the repository at this point in the history
  • Loading branch information
asudoh committed Oct 19, 2012
1 parent 218dde7 commit 7fbf109
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/WidgetList.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ define([
isMyMixin: true
});

var w = new (declare([_WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin], {templateString: template}))({children: data});
var w = new (declare([_WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin], {templateString: template}))({childData: data});
w.startup();

var simpleChildren = w.simpleWidgetList.getChildren(),
Expand Down
6 changes: 3 additions & 3 deletions tests/test_WidgetList_WidgetListInTemplate.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
data-dojo-type="dojox/mvc/WidgetList"
data-mvc-child-type="My.Widget"
data-mvc-child-mixins="My.Mixin"
data-dojo-props="children: this.children">
data-dojo-props="children: this.childData">
</div>
<div data-dojo-attach-point="simpleWidgetListWithRegularDijit"
data-dojo-type="dojox/mvc/WidgetList"
data-mvc-child-type="dijit/form/TextBox"
data-mvc-child-mixins="My.Mixin"
data-dojo-props="children: this.children">
data-dojo-props="children: this.childData">
</div>
<div data-dojo-attach-point="simpleWidgetListWithRegularDijitInMixin"
data-dojo-type="dojox/mvc/WidgetList"
data-mvc-child-type="My.Widget"
data-mvc-child-mixins="My.Mixin,dijit/_Container"
data-dojo-props="children: this.children">
data-dojo-props="children: this.childData">
</div>
</div>

0 comments on commit 7fbf109

Please sign in to comment.