Ñò
e>õGc @ s¹ d Z d d k Td d k l Z l Z d d k l Z l Z d d k l Z d „ Z e
d „ Z d „ Z d „ Z
d
„ Z d „ Z d „ Z d
„ Z d „ Z d d d d d g Z d S( sî
Scriptaculous Helpers
Provides a set of helpers for calling Scriptaculous JavaScript
functions, including those which create AJAX controls and visual effects.
To be able to use these helpers, you must include the Prototype
JavaScript framework and the Scriptaculous JavaScript library in your
pages.
The Scriptaculous helpers' behavior can be tweaked with various options.
See the documentation at http://script.aculo.us for more information on
using these helpers in your application.
iÿÿÿÿ( t *( t options_for_javascriptt array_or_string_for_javascript( t AJAX_OPTIONSt javascript_tag( t camelizec C sd t | t ƒ o d | St | t ƒ o7 d d i g } | D] } | t | ƒ q= ~ ƒ d Sd S( Ns '%s't [t ,t ]( t
isinstancet strt listt joint _elements_to_js( t elementst _[1]t e( ( sB /usr/lib/python2.6/site-packages/webhelpers/rails/scriptaculous.pyR
s c K s | o
t | ƒ p d } t | i d ƒ t ƒ oh d d i g } | d i ƒ D]5 \ } } | d | | d j o | p d | f qQ ~ ƒ | d