Merge remote branch 'origin/master'

This commit is contained in:
Jonathan Puckey 2011-05-18 19:48:40 +02:00
commit 0ab9e38068
2 changed files with 5 additions and 1 deletions

View file

@ -292,6 +292,10 @@ var Color = this.Color = Base.extend(new function() {
}
};
}, new function() {
// Injection scope to produce conversion methods for the various color
// components known by the possible color types. Requesting any of these
// components on any color internally converts the color to the required
// type and then returns its component, using bean access.
return Base.each({
rgb: ['red', 'green', 'blue'],
hsb: ['hue', 'saturation', 'brightness'],

View file

@ -42,6 +42,6 @@ var GradientStop = this.GradientStop = Base.extend({
equals: function(stop) {
return stop == this || stop instanceof GradientStop
&& this._color.equals(stop._color)
&& rampPoint == stop._rampPoint;
&& this._rampPoint == stop._rampPoint;
}
});