Metadata-Version: 1.0
Name: js.jquery-timepicker-addon
Version: 1.2
Summary: Fanstatic packaging of jQuery-Timepicker-Addon
Home-page: UNKNOWN
Author: Fanstatic Developers
Author-email: fanstatic@googlegroups.com
License: BSD
Description: js.jquery_timepicker_addon
        **************************
        
        .. contents::
        
        Introduction
        ============
        
        This library packages `jQuery-Timepicker-Addon`_ for `fanstatic`_.
        
        .. _`fanstatic`: http://fanstatic.org
        .. _`jQuery-Timepicker-Addon`: https://github.com/trentrichardson/jQuery-Timepicker-Addon
        
        This requires integration between your web framework and ``fanstatic``,
        and making sure that the original resources (shipped in the ``resources``
        directory in ``js.jquery_timepicker_addon``) are published to some URL.
        
        
        Hacking
        =======
        
        To minify CSS and JS after updating to a newer jQuery-Timepicker-Addon
        version run::
        
          python2.7 bootstrap.py
          bin/buildout
          bin/minify
        
        
        CHANGES
        *******
        
        1.2 (2013-03-03)
        ================
        
        - Update to 1.2
        
        
        1.0.5 (2012-10-16)
        ==================
        
        - Update to 1.0.5
        
        - Add minified versions for all resources
        
        - Add timepicker_locales dictionary.
        
        - Only depend on js.jqueryui.ui_datepicker and js.jqueryui.ui_slider.
          This avoids pulling in the complete jQuery UI when only parts are needed.
        
        0.9.8 (2011-12-12)
        ==================
        
        - Update to 0.9.8.
        
        
        0.9.7-1 (2011-11-10)
        ====================
        
        - Expose all i18n/l10n files as individual resources.
        
        
        0.9.7 (2011-11-08)
        ==================
        
        - Update to 0.9.7.
        
        
        0.9.6 (2011-09-07)
        ==================
        
        - Initial release.
        
        How to use?
        ***********
        
        
        You can import ``timepicker`` from ``js.jquery_timepicker_addon`` and ``need``
        it where you want these resources to be included on a page::
        
          >>> from js.jquery_timepicker_addon import timepicker
          >>> timepicker.need()
        
        Locales
        =======
        
        Also included are locales for the timepicker widget.
        
        How to get the right locale for the current request depends on your web framework.
        In `Pyramid`_ you could e.g. do something like this::
        
            from js.jquery_timepicker_addon import timepicker_locales
            from pyramid.i18n import get_locale_name
        
            locale_name = get_locale_name(request)
            if locale_name in timepicker_locales:
                timepicker_locales[locale_name].need()
        
        .. _`Pyramid`: http://www.pylonsproject.org
        
Platform: UNKNOWN
