<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -127,10 +127,6 @@ Color.implement({
 		return this;
 	},
 	
-	copy: function(){
-		return new Color(this.color, this.type);
-	},
-	
 	get: function(name){
 		var hsb = ['hue', 'saturation', 'brightness'], rgb = ['red', 'green', 'blue'], index;
 		
@@ -139,6 +135,10 @@ Color.implement({
 		if ((index = rgb.indexOf(name)) &gt; -1) return this.toArray('rgb')[index];
 		return null;
 	},
+	
+	copy: function(){
+		return new Color(this.color, this.type);
+	},
 
 	toRGB: function(){
 		return this.toString('rgb');
@@ -182,14 +182,14 @@ Color.implement({
 
 Color.alias('toRGB', 'valueOf');
 
-function hex(hex){
+var hex = Color.hex = function(hex){
 	return new Color(hex, 'hex');
 };
 
-function hsb(h, s, b, a){
+var hsb = Color.hsb = function(h, s, b, a){
 	return new Color([h || 0, s || 0, b || 0, $chk(a) ? a : 1], 'hsb');
 };
 
-function rgb(r, g, b, a){
+var rgb = Color.rgb = function rgb(r, g, b, a){
 	return new Color([r || 0, g || 0, b || 0, $chk(a) ? a : 1], 'rgb');
 };</diff>
      <filename>mootools-color.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>798b32c03fbd1b72b5180af1df60599b1c78802c</id>
    </parent>
  </parents>
  <author>
    <name>Valerio Proietti</name>
    <email>kamicane@gmail.com</email>
  </author>
  <url>http://github.com/kamicane/mootools-color/commit/8973a1f08edbb86d30fc645506e2da4dd5483dfb</url>
  <id>8973a1f08edbb86d30fc645506e2da4dd5483dfb</id>
  <committed-date>2009-10-06T14:54:00-07:00</committed-date>
  <authored-date>2009-10-06T14:54:00-07:00</authored-date>
  <message> - added aliases in Color</message>
  <tree>352295cf01d692155cc096ba1e9bf919fca6a601</tree>
  <committer>
    <name>Valerio Proietti</name>
    <email>kamicane@gmail.com</email>
  </committer>
</commit>
