Brian Gibson
2006-Oct-13 00:50 UTC
What''s the procedure for submitting a new control to scriptaculous?
I''ve created a new control Touchpad (based heavily off of Slider). I also created a basic unit test (could use more) and a handful of functional tests to go with it. How do I submit the control for code review and inclusion into scriptaculous? It''s a 2D control. Mousedown activates the control. Dragging the mouse sets the value. Mouseup or mouseout deactivates the control. The output value is an array [x, y]. // options: // axis: ''vertical'', ''horizontal'' (default is false) // rangeH: $R(min, max) (default is $R(0,1)) // minimumH: min (default is 0) // maximumH: max (default is 1) // rangeV: $R(min, max) (default is $R(0,1)) // minimumV: min (default is 0) // maximumV: max (default is 1) // valuesH: array of integers (default is false) // valuesV: array of integers (default is false) // useCursors: true || false (default is false) // inactiveCursor: valid cursor (default is ''pointer'') // activeCursor: valid cursor (default is ''pointer'') // disabledCursor: valid cursor (default is ''not-allowed'') // callbacks: // onChange(value) // onTouch(value) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
Martin Ström
2006-Oct-13 09:01 UTC
Re: What''s the procedure for submitting a new control to scriptaculous?
You''ll find instructions here: http://wiki.script.aculo.us/scriptaculous/show/SubmittingPatches On 10/13/06, Brian Gibson <brian.gibson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''ve created a new control Touchpad (based heavily off of Slider). I > also created a basic unit test (could use more) and a handful of > functional tests to go with it. How do I submit the control for code > review and inclusion into scriptaculous? > > It''s a 2D control. Mousedown activates the control. Dragging the > mouse sets the value. Mouseup or mouseout deactivates the control. > The output value is an array [x, y]. > > // options: > // axis: ''vertical'', ''horizontal'' (default is false) > // rangeH: $R(min, max) (default is $R(0,1)) > // minimumH: min (default is 0) > // maximumH: max (default is 1) > // rangeV: $R(min, max) (default is $R(0,1)) > // minimumV: min (default is 0) > // maximumV: max (default is 1) > // valuesH: array of integers (default is false) > // valuesV: array of integers (default is false) > // useCursors: true || false (default is false) > // inactiveCursor: valid cursor (default is ''pointer'') > // activeCursor: valid cursor (default is ''pointer'') > // disabledCursor: valid cursor (default is ''not-allowed'') > // callbacks: > // onChange(value) > // onTouch(value) > > > > >-- burnfield.com/martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
Brian Gibson
2006-Oct-13 17:59 UTC
Re: What''s the procedure for submitting a new control to scriptaculous?
Thanks. I''ve submitted the patch. http://dev.rubyonrails.org/ticket/6398 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---