Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

More elimination of global dojox.mvc.at etc.

  • Loading branch information...
commit ea31ef76130184276f6f5a7ac91da7d42755d22e 1 parent 065cfde
@asudoh asudoh authored
View
20 EditModelRefController.js
@@ -46,8 +46,9 @@ define([
// | <script src="/path/to/dojo-toolkit/dojo/dojo.js" type="text/javascript" data-dojo-config="parseOnLoad: 0"></script>
// | <script type="text/javascript">
// | require([
- // | "dojo/dom", "dojo/parser", "dojo/Stateful", "dijit/registry", "dijit/form/CheckBox", "dojox/mvc/at", "dojox/mvc/EditModelRefController", "dojo/domReady!"
- // | ], function(ddom, parser, Stateful, registry){
+ // | "dojo/dom", "dojo/parser", "dojo/Stateful", "dijit/registry", "dojox/mvc/at", "dijit/form/CheckBox", "dojox/mvc/EditModelRefController", "dojo/domReady!"
+ // | ], function(ddom, parser, Stateful, registry, at){
+ // | window.at = at;
// | model = new Stateful({value: false});
// | setTimeout(function(){
// | ddom.byId("check").click();
@@ -65,7 +66,7 @@ define([
// | </head>
// | <body>
// | <span id="ctrl" data-dojo-type="dojox.mvc.EditModelRefController" data-dojo-props="sourceModel: model"></span>
- // | <input id="check" type="checkbox" data-dojo-type="dijit.form.CheckBox" data-dojo-props="checked: dojox.mvc.at('widget:ctrl', 'value')">
+ // | <input id="check" type="checkbox" data-dojo-type="dijit.form.CheckBox" data-dojo-props="checked: at('widget:ctrl', 'value')">
// | </body>
// | </html>
// example:
@@ -76,9 +77,10 @@ define([
// | <script src="/path/to/dojo-toolkit/dojo/dojo.js" type="text/javascript" data-dojo-config="parseOnLoad: 0"></script>
// | <script type="text/javascript">
// | require([
- // | "dojo/dom", "dojo/parser", "dojo/Stateful", "dijit/registry",
- // | "dijit/form/CheckBox", "dojox/mvc/at", "dojox/mvc/ModelRefController", "dojox/mvc/EditModelRefController", "dojo/domReady!"
- // | ], function(ddom, parser, Stateful, registry){
+ // | "dojo/dom", "dojo/parser", "dojo/Stateful", "dijit/registry", "dojox/mvc/at",
+ // | "dijit/form/CheckBox", "dojox/mvc/ModelRefController", "dojox/mvc/EditModelRefController", "dojo/domReady!"
+ // | ], function(ddom, parser, Stateful, registry, at){
+ // | window.at = at;
// | model = new Stateful({value: false});
// | setTimeout(function(){
// | ddom.byId("checkEdit").click();
@@ -93,13 +95,13 @@ define([
// | <body>
// | <span id="ctrlSource" data-dojo-type="dojox.mvc.ModelRefController" data-dojo-props="model: model"></span>
// | <span id="ctrlEdit" data-dojo-type="dojox.mvc.EditModelRefController"
- // | data-dojo-props="sourceModel: dojox.mvc.at('widget:ctrlSource', 'model'), holdModelUntilCommit: true"></span>
+ // | data-dojo-props="sourceModel: at('widget:ctrlSource', 'model'), holdModelUntilCommit: true"></span>
// | Source:
// | <input id="checkSource" type="checkbox" data-dojo-type="dijit.form.CheckBox"
- // | data-dojo-props="checked: dojox.mvc.at('widget:ctrlSource', 'value')">
+ // | data-dojo-props="checked: at('widget:ctrlSource', 'value')">
// | Edit:
// | <input id="checkEdit" type="checkbox" data-dojo-type="dijit.form.CheckBox"
- // | data-dojo-props="checked: dojox.mvc.at('widget:ctrlEdit', 'value')">
+ // | data-dojo-props="checked: at('widget:ctrlEdit', 'value')">
// | </body>
// | </html>
View
9 EditStoreRefController.js
@@ -22,9 +22,10 @@ define([
// | <script src="/path/to/dojo-toolkit/dojo/dojo.js" type="text/javascript" data-dojo-config="parseOnLoad: 0"></script>
// | <script type="text/javascript">
// | require([
- // | "dojo/dom", "dojo/parser", "dojo/store/Observable", "dojo/store/Memory", "dijit/registry",
- // | "dijit/form/CheckBox", "dojox/mvc/at", "dojox/mvc/EditStoreRefController", "dojox/mvc/ListController", "dojo/domReady!"
- // | ], function(ddom, parser, Observable, Memory, registry){
+ // | "dojo/dom", "dojo/parser", "dojo/store/Observable", "dojo/store/Memory", "dijit/registry", "dojox/mvc/at",
+ // | "dijit/form/CheckBox", "dojox/mvc/EditStoreRefController", "dojox/mvc/ListController", "dojo/domReady!"
+ // | ], function(ddom, parser, Observable, Memory, registry, at){
+ // | window.at = at;
// | store = Observable(new Memory({data: [{id: "Foo", value: false}]}));
// | parser.parse();
// | registry.byId("ctrl").queryStore().observe(function(object, previousIndex, newIndex){
@@ -42,7 +43,7 @@ define([
// | <body>
// | <span id="ctrl" data-dojo-type="dojox.mvc.EditStoreRefController" data-dojo-mixins="dojox.mvc.ListController"
// | data-dojo-props="store: store, cursorIndex: 0"></span>
- // | <input id="check" type="checkbox" data-dojo-type="dijit.form.CheckBox" data-dojo-props="checked: dojox.mvc.at('widget:ctrl', 'value')">
+ // | <input id="check" type="checkbox" data-dojo-type="dijit.form.CheckBox" data-dojo-props="checked: at('widget:ctrl', 'value')">
// | </body>
// | </html>
View
9 EditStoreRefListController.js
@@ -22,9 +22,10 @@ define([
// | <script src="/path/to/dojo-toolkit/dojo/dojo.js" type="text/javascript" data-dojo-config="parseOnLoad: 0"></script>
// | <script type="text/javascript">
// | require([
- // | "dojo/dom", "dojo/parser", "dojo/store/Observable", "dojo/store/Memory", "dijit/registry",
- // | "dijit/form/CheckBox", "dojox/mvc/at", "dojox/mvc/EditStoreRefListController", "dojox/mvc/ListController", "dojo/domReady!"
- // | ], function(ddom, parser, Observable, Memory, registry){
+ // | "dojo/dom", "dojo/parser", "dojo/store/Observable", "dojo/store/Memory", "dijit/registry", "dojox/mvc/at",
+ // | "dijit/form/CheckBox", "dojox/mvc/EditStoreRefListController", "dojox/mvc/ListController", "dojo/domReady!"
+ // | ], function(ddom, parser, Observable, Memory, registry, at){
+ // | window.at = at;
// | store = Observable(new Memory({data: [{id: "Foo", value: false}]}));
// | parser.parse();
// | registry.byId("ctrl").queryStore().observe(function(object, previousIndex, newIndex){
@@ -42,7 +43,7 @@ define([
// | <body>
// | <span id="ctrl" data-dojo-type="dojox.mvc.EditStoreRefListController"
// | data-dojo-props="store: store, cursorIndex: 0"></span>
- // | <input id="check" type="checkbox" data-dojo-type="dijit.form.CheckBox" data-dojo-props="checked: dojox.mvc.at('widget:ctrl', 'value')">
+ // | <input id="check" type="checkbox" data-dojo-type="dijit.form.CheckBox" data-dojo-props="checked: at('widget:ctrl', 'value')">
// | </body>
// | </html>
View
9 ListController.js
@@ -97,9 +97,10 @@ define([
// | <script src="/path/to/dojo-toolkit/dojo/dojo.js" type="text/javascript" data-dojo-config="parseOnLoad: 0"></script>
// | <script type="text/javascript">
// | require([
- // | "dojo/parser", "dijit/registry", "dojox/mvc/StatefulArray",
- // | "dijit/form/TextBox", "dojox/mvc/at", "dojox/mvc/ListController", "dojo/domReady!"
- // | ], function(parser, registry, StatefulArray){
+ // | "dojo/parser", "dijit/registry", "dojox/mvc/StatefulArray", "dojox/mvc/at",
+ // | "dijit/form/TextBox", "dojox/mvc/ListController", "dojo/domReady!"
+ // | ], function(parser, registry, StatefulArray, at){
+ // | window.at = at;
// | var count = 0;
// | model = new StatefulArray([{value: "First"}, {value: "Second"}, {value: "Third"}, {value: "Fourth"}, {value: "Fifth"}]);
// | setInterval(function(){ registry.byId("ctrl").set("cursorIndex", ++count % 5); }, 2000);
@@ -109,7 +110,7 @@ define([
// | </head>
// | <body>
// | <span id="ctrl" data-dojo-type="dojox.mvc.ListController" data-dojo-props="model: model"></span>
- // | <input type="text" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: dojox.mvc.at('widget:ctrl', 'value')">
+ // | <input type="text" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: at('widget:ctrl', 'value')">
// | </body>
// | </html>
View
9 ModelRefController.js
@@ -29,9 +29,10 @@ define([
// | <script src="/path/to/dojo-toolkit/dojo/dojo.js" type="text/javascript" data-dojo-config="parseOnLoad: 0"></script>
// | <script type="text/javascript">
// | require([
- // | "dojo/parser", "dojo/Stateful", "dijit/registry",
- // | "dijit/form/TextBox", "dojox/mvc/at", "dojox/mvc/ModelRefController", "dojo/domReady!"
- // | ], function(parser, Stateful, registry){
+ // | "dojo/parser", "dojo/Stateful", "dijit/registry", "dojox/mvc/at",
+ // | "dijit/form/TextBox", "dojox/mvc/ModelRefController", "dojo/domReady!"
+ // | ], function(parser, Stateful, registry, at){
+ // | window.at = at;
// | modelFoo = new Stateful({value: "Foo"});
// | modelBar = new Stateful({value: "Bar"});
// | setTimeout(function(){ registry.byId("ctrl").set("model", modelBar); }, 2000);
@@ -41,7 +42,7 @@ define([
// | </head>
// | <body>
// | <span id="ctrl" data-dojo-type="dojox.mvc.ModelRefController" data-dojo-props="model: modelFoo"></span>
- // | <input type="text" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: dojox.mvc.at('widget:ctrl', 'value')">
+ // | <input type="text" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: at('widget:ctrl', 'value')">
// | </body>
// | </html>
View
9 StatefulSeries.js
@@ -1,8 +1,9 @@
define([
"dojo/_base/array",
"dojo/_base/declare",
- "dojo/_base/lang"
-], function(darray, declare, lang){
+ "dojo/_base/lang",
+ "dojox/mvc/at"
+], function(darray, declare, lang, at){
return declare("dojox.mvc.StatefulSeries", null, {
// summary:
// Chart data plugin ("series") that watches for properties specified in dojox.mvc.at handles in the given data.
@@ -21,9 +22,9 @@ define([
if((item || {}).atsignature == "dojox.mvc.at"){
var target = item.target, targetProp = item.targetProp;
if(lang.isString(target)){
- throw new Error("Literal-based dojox.mvc.at is not supported in dojox.mvc.StatefulSeries.");
+ throw new Error("Literal-based dojox/mvc/at is not supported in dojox.mvc.StatefulSeries.");
}
- if(item.direction && !(item.direction & dojox.mvc.from)){
+ if(item.direction && !(item.direction & at.from)){
console.warn("Data binding direction option is ignored in dojox.mvc.StatefulSeries.");
}
if(targetProp && lang.isFunction(target.set) && lang.isFunction(target.watch)){
View
9 StoreRefController.js
@@ -29,9 +29,10 @@ define([
// | <script src="/path/to/dojo-toolkit/dojo/dojo.js" type="text/javascript" data-dojo-config="parseOnLoad: 0"></script>
// | <script type="text/javascript">
// | require([
- // | "dojo/parser", "dojo/store/Memory", "dijit/registry",
- // | "dijit/form/TextBox", "dojox/mvc/at", "dojox/mvc/StoreRefController", "dojo/domReady!"
- // | ], function(parser, Memory, registry){
+ // | "dojo/parser", "dojo/store/Memory", "dijit/registry", "dojox/mvc/at",
+ // | "dijit/form/TextBox", "dojox/mvc/StoreRefController", "dojo/domReady!"
+ // | ], function(parser, Memory, registry, at){
+ // | window.at = at;
// | store = new Memory({data: [{id: "Foo", value: "Foo"}, {id: "Bar", value: "Bar"}]});
// | parser.parse();
// | registry.byId("ctrl").getStore("Foo");
@@ -41,7 +42,7 @@ define([
// | </head>
// | <body>
// | <span id="ctrl" data-dojo-type="dojox.mvc.StoreRefController" data-dojo-props="store: store"></span>
- // | <input type="text" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: dojox.mvc.at('widget:ctrl', 'value')">
+ // | <input type="text" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: at('widget:ctrl', 'value')">
// | </body>
// | </html>
View
2  _Controller.js
@@ -57,7 +57,7 @@ define([
set: function(/*String*/ name, /*Anything*/ value){
// summary:
- // If the value given is dojox.mvc.at handle, use it for data binding.
+ // If the value given is dojox/mvc/at handle, use it for data binding.
// Otherwise, if setter function is there, use it.
// Otherwise, set the value to the data model or to this object.
// name: String
View
2  _DataBindingMixin.js
@@ -11,7 +11,7 @@ define([
registry = dijit.registry;
=====*/
- dojo.deprecated("dojox.mvc._DataBindingMixin", "Use dojox.mvc.at() for data binding.");
+ dojo.deprecated("dojox.mvc._DataBindingMixin", "Use dojox/mvc/at for data binding.");
return declare("dojox.mvc._DataBindingMixin", null, {
// summary:
View
4 _atBindingExtension.js
@@ -7,7 +7,7 @@ define([
// Apply the at binding mixin to all dijits, see mixin class description for details
lang.extend(_WidgetBase, _atBindingMixin.prototype);
- // Monkey patch dijit._WidgetBase.postscript to get the list of dojox.mvc.at() handles before startup
+ // Monkey patch dijit._WidgetBase.postscript to get the list of dojox/mvc/at handles before startup
var oldWidgetBasePostScript = _WidgetBase.prototype.postscript;
_WidgetBase.prototype.postscript = function(/*Object?*/ params, /*DomNode|String*/ srcNodeRef){
this._dbpostscript(params, srcNodeRef);
@@ -28,7 +28,7 @@ define([
oldWidgetBaseDestroy.apply(this, [preserveDom]);
};
- // Monkey patch dijit._WidgetBase.set to establish data binding if a dojox.mvc.at() handle comes
+ // Monkey patch dijit._WidgetBase.set to establish data binding if a dojox/mvc/at handle comes
var oldWidgetBaseSet = _WidgetBase.prototype.set;
_WidgetBase.prototype.set = function(/*String*/ name, /*Anything*/ value){
if(name == _atBindingMixin.prototype.dataBindAttr){
View
10 _atBindingMixin.js
@@ -114,7 +114,7 @@ define([
_dbpostscript: function(/*Object?*/ params, /*DomNode|String*/ srcNodeRef){
// summary:
- // See if any parameters for this widget are dojox.mvc.at handles.
+ // See if any parameters for this widget are dojox/mvc/at handles.
// If so, move them under this._refs to prevent widget implementations from referring them.
var refs = this._refs = (params || {}).refs || {};
@@ -129,7 +129,7 @@ define([
_startAtWatchHandles: function(){
// summary:
- // Establish data bindings based on dojox.mvc.at() watch handles.
+ // Establish data bindings based on dojox/mvc/at handles.
var refs = this._refs;
if(refs){
@@ -163,12 +163,12 @@ define([
_setAtWatchHandle: function(/*String*/ name, /*Anything*/ value){
// summary:
- // Called if the value is a dojox.mvc.at handle.
- // If this widget has started, start data binding with the new dojox.mvc.at handle.
+ // Called if the value is a dojox/mvc/at handle.
+ // If this widget has started, start data binding with the new dojox/mvc/at handle.
// Otherwise, queue it up to this._refs so that _dbstartup() can pick it up.
if(name == "ref"){
- throw new Error(this + ": 1.7 ref syntax used in conjuction with 1.8 dojox.mvc.at() syntax, which is not supported.");
+ throw new Error(this + ": 1.7 ref syntax used in conjuction with 1.8 dojox/mvc/at syntax, which is not supported.");
}
// Claen up older data binding
View
7 at.js
@@ -60,8 +60,9 @@ define([
// | <script src="/path/to/dojo-toolkit/dojo/dojo.js" type="text/javascript" data-dojo-config="parseOnLoad: 0"></script>
// | <script type="text/javascript">
// | require([
- // | "dojo/parser", "dojo/Stateful", "dijit/form/TextBox", "dojox/mvc/at", "dojo/domReady!"
- // | ], function(parser, Stateful){
+ // | "dojo/parser", "dojo/Stateful", "dojox/mvc/at", "dijit/form/TextBox", "dojo/domReady!"
+ // | ], function(parser, Stateful, at){
+ // | window.at = at;
// | model = new Stateful({value: "Foo"});
// | setTimeout(function(){ model.set("value", "Bar"); }, 2000);
// | parser.parse();
@@ -69,7 +70,7 @@ define([
// | </script>
// | </head>
// | <body>
- // | <input type="text" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: dojox.mvc.at(model, 'value')">
+ // | <input type="text" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: at(model, 'value')">
// | </body>
// | </html>
View
2  tests/mobile/demo/demo.html
@@ -263,7 +263,7 @@ <h1 data-dojo-type="dojox.mobile.Heading" data-dojo-props='back:"Back", moveTo:"
<div id="view" data-dojo-type="dojox.mvc.Generate"
data-dojo-props="widgetMapping:{'String' : 'dojox.mobile.TextBox'},
idNameMapping: {String: 'TB'},
- children: at('widget:modelArea', 'value').direct(dojox.mvc.from).attach({format: dojo.fromJson})">
+ children: at('widget:modelArea', 'value').direct(at.from).attach({format: dojo.fromJson})">
</div>
</div>
<div class="fieldset">
View
2  tests/multiattrib/doh_mvc_test_Toolbar.html
@@ -161,7 +161,7 @@ <h1 class="testTitle">Toolbar test</h1>
<div style="margin-top:8px;">
Change the state for "Bold" (but this check box is free from change in the tool bar):
- <input id="checkBold" data-dojo-type="dijit.form.CheckBox" checked data-dojo-props="checked: at(boldItemModel, 'checked').direct(dojox.mvc.to)">
+ <input id="checkBold" data-dojo-type="dijit.form.CheckBox" checked data-dojo-props="checked: at(boldItemModel, 'checked').direct(at.to)">
</div>
<div style="margin-top:8px;">
View
2  tests/multiattrib/doh_mvc_test_Toolbar_withCtrl.html
@@ -158,7 +158,7 @@ <h1 class="testTitle">Toolbar test</h1>
<div style="margin-top:8px;">
Change the state for "Bold" (but this check box is free from change in the tool bar):
- <input id="checkBold" data-dojo-type="dijit.form.CheckBox" checked data-dojo-props="checked: at(boldItemCtrl, 'checked').direct(dojox.mvc.to)">
+ <input id="checkBold" data-dojo-type="dijit.form.CheckBox" checked data-dojo-props="checked: at(boldItemCtrl, 'checked').direct(at.to)">
</div>
<div style="margin-top:8px;">
View
2  tests/multiattrib/test_Toolbar.html
@@ -113,7 +113,7 @@ <h1 class="testTitle">Toolbar test</h1>
<div style="margin-top:8px;">
Change the state for "Bold" (but this check box is free from change in the tool bar):
<input data-dojo-type="dijit.form.CheckBox" checked
- data-dojo-props="checked: at(boldItemModel, 'checked').direct(dojox.mvc.to)">
+ data-dojo-props="checked: at(boldItemModel, 'checked').direct(at.to)">
</div>
<div style="margin-top:8px;">
View
8 tests/regression/test_mvc_prog_repeat.html
@@ -45,7 +45,7 @@
'dojo/domReady!'
], function (parser, mvc, Memory, DateTextBox, Calendar, StatefulModel, Repeat, Group,
at, registry, Button, Output, TextBox, dateStamp, dom, domconstruct) {
-
+ window.at = at;
dojox.debugDataBinding = true;
// *** Test1 setup begin: ***
@@ -179,10 +179,10 @@
<h2>Test 3: A programmatic repeat with the html inline using mvc.at.</h2>
<div style="border-style: solid; border-width: 2px; width: 827px;">
<div id="test3_repeat">
- <div class="row" data-dojo-type="dojox.mvc.Group" data-dojo-props="target: dojox.mvc.at('rel:${this.index}')">
+ <div class="row" data-dojo-type="dojox.mvc.Group" data-dojo-props="target: at('rel:${this.index}')">
<label class="cell">Name:</label>
- <input class="cell" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: dojox.mvc.at('rel:First', 'value')"></input>
- <input class="cell" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: dojox.mvc.at('rel:Last', 'value')"></input>
+ <input class="cell" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: at('rel:First', 'value')"></input>
+ <input class="cell" data-dojo-type="dijit.form.TextBox" data-dojo-props="value: at('rel:Last', 'value')"></input>
</div>
</div>
</div>
View
2  tests/test_mvc_generate-view.html
@@ -73,7 +73,7 @@
</div>
<h3>Generated View</h3>
<div data-dojo-type="dojox.mvc.Generate"
- data-dojo-props="children: at('widget:textarea', 'value').direct(dojox.mvc.from).attach({format: dojo.fromJson}), idNameMapping: {String: 'view_t'}"></div>
+ data-dojo-props="children: at('widget:textarea', 'value').direct(at.from).attach({format: dojo.fromJson}), idNameMapping: {String: 'view_t'}"></div>
</div>
</div>
</body>
View
6 tests/test_mvc_repeat_select.html
@@ -233,11 +233,11 @@
</td>
<td class="dijitMenuItemIconCell">
<img src="../../../dojo/resources/blank.gif" data-dojo-type="dijit._WidgetBase"
- data-dojo-props="_setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:${index}', 'Priority').direct(dojox.mvc.from).attach(priorityConverter)">
+ data-dojo-props="_setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:${index}', 'Priority').direct(at.from).attach(priorityConverter)">
</td>
<td data-dojo-type="dijit._WidgetBase"
- data-dojo-props="Subject: at('rel:${index}', 'Subject').direct(dojox.mvc.from).attach(subjectConverter),
- _setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:${index}', 'Completed').direct(dojox.mvc.from).attach(completeConverter),
+ data-dojo-props="Subject: at('rel:${index}', 'Subject').direct(at.from).attach(subjectConverter),
+ _setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:${index}', 'Completed').direct(at.from).attach(completeConverter),
_setSubjectAttr: {node: 'domNode', type: 'innerText'}">
</td>
</tr>
View
6 tests/test_mvc_repeat_select_cancel.html
@@ -250,11 +250,11 @@
</td>
<td class="dijitMenuItemIconCell">
<img src="../../../dojo/resources/blank.gif" data-dojo-type="dijit._WidgetBase"
- data-dojo-props="_setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:', 'Priority').direct(dojox.mvc.from).attach(priorityConverter)">
+ data-dojo-props="_setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:', 'Priority').direct(at.from).attach(priorityConverter)">
</td>
<td data-dojo-type="dijit._WidgetBase"
- data-dojo-props="Subject: at('rel:', 'Subject').direct(dojox.mvc.from).attach(subjectConverter),
- _setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:', 'Completed').direct(dojox.mvc.from).attach(completeConverter),
+ data-dojo-props="Subject: at('rel:', 'Subject').direct(at.from).attach(subjectConverter),
+ _setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:', 'Completed').direct(at.from).attach(completeConverter),
_setSubjectAttr: {node: 'domNode', type: 'innerText'}">
</td>
</tr>
View
6 tests/test_mvc_repeat_select_manualsave.html
@@ -256,11 +256,11 @@
</td>
<td class="dijitMenuItemIconCell">
<img src="../../../dojo/resources/blank.gif" data-dojo-type="dijit._WidgetBase"
- data-dojo-props="_setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:', 'Priority').direct(dojox.mvc.from).attach(priorityConverter)">
+ data-dojo-props="_setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:', 'Priority').direct(at.from).attach(priorityConverter)">
</td>
<td data-dojo-type="dijit._WidgetBase"
- data-dojo-props="Subject: at('rel:', 'Subject').direct(dojox.mvc.from).attach(subjectConverter),
- _setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:', 'Completed').direct(dojox.mvc.from).attach(completeConverter),
+ data-dojo-props="Subject: at('rel:', 'Subject').direct(at.from).attach(subjectConverter),
+ _setDomClassAttr: {node: 'domNode', type: 'class'}, domClass: at('rel:', 'Completed').direct(at.from).attach(completeConverter),
_setSubjectAttr: {node: 'domNode', type: 'innerText'}">
</td>
</tr>
Please sign in to comment.
Something went wrong with that request. Please try again.