This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Help us improve Python packaging - Donate today!
Project Description

js.namespace

Introduction

This library provides a small javascript library to declare namespaces, packaged for fanstatic.

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.
Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
js.namespace-0.1.zip (9.7 kB) Copy SHA256 Checksum SHA256 Source May 15, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting