Metadata-Version: 1.0
Name: js.jquery_validate
Version: 1.11.0
Summary: Fanstatic packaging of validate for jQuery (jquery.validate.js)
Home-page: https://bitbucket.org/s_nikolai/js.jquery_validate
Author: Nikolai Sevostjanov
Author-email: nikolai.sevostjanov@gmail.com
License: BSD
Description: js.jquery_validate
        ==================
        
        .. contents::
        
        Introduction
        ------------
        
        This library packages `jQuery Validation Plugin`_ for `fanstatic`_.
        
        .. _`fanstatic`: http://fanstatic.org
        .. _`jQuery Validation Plugin`: http://bassistance.de/jquery-plugins/jquery-plugin-validation/
        
        This requires integration between your web framework and ``fanstatic``,
        and making sure that the original resources (shipped in the ``resources``
        directory in ``js.jquery_validate``) are published to some URL.
        
        
        CHANGES
        =======
        
        1.11.0 (2013-03-17)
        ------------------
        
        - Initial release.
        
        
        How to use?
        ===========
        
        This should be setup before rendering a page. See `fanstatic`_ for more
        information::
        
          >>> from fanstatic import init_needed
          >>> needed = init_needed(base_url='http://localhost')
        
        You can import ``jquery_validate`` from ``js.jquery_validate`` and ``need``
        it where you want these resources to be included on a page::
        
          >>> from js.jquery_validate import jquery_validate
          >>> jquery_validate.need()
        
        Render the inclusion::
        
          >>> print needed.render()
          <script type="text/javascript" src="http://localhost/fanstatic/jquery/jquery.js"></script>
          <script type="text/javascript" src="http://localhost/fanstatic/jquery-validate/jquery.validate.js"></script>
        
Platform: UNKNOWN
