recieve => receive
This commit is contained in:
Shinsuke Sugita 2017-03-01 16:57:53 +09:00 committed by Mario Zechner
parent d7d6177372
commit 8887a1f5e3

View File

@ -688,7 +688,7 @@ public class SkeletonJson {
}
static private function toColor (hexString:String, colorIndex:int) : Number {
if (hexString.length != 8) throw new ArgumentError("Color hexidecimal length must be 8, recieved: " + hexString);
if (hexString.length != 8) throw new ArgumentError("Color hexidecimal length must be 8, received: " + hexString);
return parseInt(hexString.substring(colorIndex * 2, colorIndex * 2 + 2), 16) / 255;
}