Metadata-Version: 1.0
Name: js.namespace
Version: 0.1
Summary: Fanstatic package providing a small js library for declaring namespaces.
Home-page: UNKNOWN
Author: Daniel Havlik
Author-email: dh@gocept.com
License: BSD
Description: js.namespace
        ************
        
        Introduction
        ============
        
        This library provides a small javascript library to declare namespaces,
        packaged for `fanstatic`_.
        
        .. _`fanstatic`: http://fanstatic.org
        
        
        Create and use a namespace
        ==========================
        
        Once included, you can use namespace.declare('your.namespace'); to declare a
        namespace. Then you can bind objects to that namespace by just assigning them
        like your.namespace.your_funky_function = function(foo) {…};
        
        You are then able to access these objects from anywhere, without polluting the
        global scope. Using dotted namespaces is a well known pattern to get a nice
        and tidy codebase.
        
        
        How to use?
        ===========
        
        
        You can import ``namespace`` from ``js.namespace`` and ``need`` it where you want
        these resources to be included on a page::
        
          >>> from js.namespace import namespace
          >>> namespace.need()
        
        
        CHANGES
        *******
        
        0.1 (2013-05-15)
        ================
        
        - Initial release.
        
Platform: UNKNOWN
