Skip to content

Commit

Permalink
Comment fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrove committed May 25, 2011
1 parent 2e9fb10 commit 40f1819
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/app/js/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ var GlobalEnv = YUI.namespace('Env.Model'),
Fired when one or more attributes on this model are changed.
@event change
@param {Object} new New values for the attributes that were changed.
@param {Object} prev Previous values for the attributes that were changed.
@param {String} src Source of the change event.
@param {Object} changed Hash of change information for each attribute that
changed. Each item in the hash has the following properties:
@param {mixed} changed.newVal New value of the attribute.
@param {mixed} changed.prevVal Previous value of the attribute.
@param {String|null} changed.src Source of the change event, if any.
**/
EVT_CHANGE = 'change',

Expand All @@ -37,8 +39,8 @@ var GlobalEnv = YUI.namespace('Env.Model'),
@param {String} type Type of error that occurred. May be one of the
following:
- `parse`: An error parsing a JSON response.
- `validate`: The model failed to validate.
* `parse`: An error parsing a JSON response.
* `validate`: The model failed to validate.
@param {mixed} error Error message, object, or exception generated by the
error. Calling `toString()` on this should result in a meaningful error
Expand Down

0 comments on commit 40f1819

Please sign in to comment.