Merge pull request #727 from andrewdavey/patch-2

Re-add getColor.reset()
This commit is contained in:
Boris Yankov
2013-07-01 10:05:19 -07:00
+5 -2
View File
@@ -244,7 +244,10 @@ interface RaphaelStatic {
fn: any;
format(token: string, ...parameters: any[]): string;
fullfill(token: string, json: JSON): string;
getColor(value?: number): string;
getColor {
(value?: number): string;
reset();
};
getPointAtLength(path: string, length: number): { x: number; y: number; alpha: number; };
getRGB(colour: string): { r: number; g: number; b: number; hex: string; error: bool; };
getSubpath(path: string, from: number, to: number): string;
@@ -287,4 +290,4 @@ interface RaphaelStatic {
vml: bool;
}
declare var Raphael: RaphaelStatic;
declare var Raphael: RaphaelStatic;