argon/model.js
function setProperty(property, newValue) {
            var originalValue;

            if (newValue != originalValue) {
                originalValue = this[property];
                this[property] = newValue;

                this.dispatch('change:' + property, {
                    originalValue : originalValue,
                    newValue      : newValue
                });
            }

            return this;
        }
function setProperty(property, newValue) {
            var originalValue;

            if (newValue != originalValue) {
                originalValue = this[property];
                this[property] = newValue;

                this.dispatch('change:' + property, {
                    originalValue : originalValue,
                    newValue      : newValue
                });
            }

            return this;
        }
function setProperty ( property , newValue ) { var originalValue ; if ( newValue != originalValue ) { originalValue = this [ property ] ; this [ property ] = newValue ; this . dispatch ( 'change:' + property , { originalValue : originalValue , newValue : newValue } ) ; } return this ; }
Sets the value of a property.
@method setProperty <public>
@argument property <required> [String] the property to write.
@argument newValue <required> [String] the value for the property.
@return [Object] instance of the model.
Sets the value of a property .