From 19556e46e309ff4511766e7a8d2ebc23f3c8d215 Mon Sep 17 00:00:00 2001 From: Mordechai Zuber Date: Thu, 20 Nov 2014 17:49:56 +0200 Subject: [PATCH] fix parameters in methods to include name --- spectrum/spectrum.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spectrum/spectrum.d.ts b/spectrum/spectrum.d.ts index 97bed21d1e..7a54abd380 100644 --- a/spectrum/spectrum.d.ts +++ b/spectrum/spectrum.d.ts @@ -259,26 +259,26 @@ declare module Spectrum { /** * Called as the original input changes. Only happens when the input is closed or the 'Choose' button is clicked. */ - change?: (any /*tinycolor */) => void; + change?: (color:any /*tinycolor */) => void; /** * Called as the user moves around within the colorpicker */ - move?: (any /*tinycolor */) => void; + move?: (color:any /*tinycolor */) => void; /** * Called after the colorpicker is opened. This is ignored on a flat colorpicker. Note, when any colorpicker on the page is shown it will hide any that are already open. */ - show?: (any /*tinycolor */) => void; + show?: (color:any /*tinycolor */) => void; /** * Called after the colorpicker is hidden. This happens when clicking outside of the picker while it is open. Note, when any colorpicker on the page is shown it will hide any that are already open. This event is ignored on a flat colorpicker. */ - hide?: (any /*tinycolor */) => void; + hide?: (color:any /*tinycolor */) => void; /** * You can prevent the colorpicker from showing up if you return false in the beforeShow event. This event is ignored on a flat colorpicker. */ - beforeShow?: (any /*tinycolor */) => void; + beforeShow?: (color:any /*tinycolor */) => void; } } \ No newline at end of file