Skip to content
Browse files

Merge pull request #49 from asudoh/multiattrib

Minor fixes for in-line documentations.
  • Loading branch information...
2 parents d8e0301 + 95ee261 commit 0a95b898f4debd6c03178c9aa4633aabd4cf951e @edchat committed Jun 22, 2012
Showing with 7 additions and 4 deletions.
  1. +1 −1 at.js
  2. +6 −3 sync.js
View
2 at.js
@@ -46,7 +46,7 @@ define([
// summary:
// Returns a handle of data binding target (a dojo/Stateful property), which is used for start synchronization with data binding source (another dojo/Stateful property).
// description:
- // Typically used in ref property in data-dojo-props so that a widget can synchronize its attribute with another dojo/Stateful, like shown in the example.
+ // Typically used in data-dojo-props so that a widget can synchronize its attribute with another dojo/Stateful, like shown in the example.
// target: dojo/Stateful|String
// dojo/Stateful to be synchronized.
// targetProp: String
View
9 sync.js
@@ -125,13 +125,16 @@ define([
}
var directions = {
- // Data binding goes from the source to the target
+ // from: Number
+ // Data binding goes from the source to the target
from: 1,
- // Data binding goes from the target to the source
+ // to: Number
+ // Data binding goes from the target to the source
to: 2,
- // Data binding goes in both directions (dojox/mvc/Bind.from | dojox/mvc/Bind.to)
+ // both: Number
+ // Data binding goes in both directions (dojox/mvc/Bind.from | dojox/mvc/Bind.to)
both: 3
}, undef;

0 comments on commit 0a95b89

Please sign in to comment.
Something went wrong with that request. Please try again.