https://github.com/dflydev/jquery-ddnamespace
jQuery Namespace Add-on
https://github.com/dflydev/jquery-ddnamespace
Last synced: about 1 month ago
JSON representation
jQuery Namespace Add-on
- Host: GitHub
- URL: https://github.com/dflydev/jquery-ddnamespace
- Owner: dflydev
- License: other
- Created: 2010-03-12T04:10:19.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2010-03-14T09:43:59.000Z (over 16 years ago)
- Last Synced: 2025-03-21T10:51:15.525Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://code.google.com/p/jquery-ddnamespace/
- Size: 93.8 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE.txt
Awesome Lists containing this project
README
Dragonfly Development jQuery Namespace Add-on
http://github.com/dflydev/jquery-ddNamespace
This add-on gives jQuery users the ability to manipulate global namespaces.
In the most simple case, it can be used to create a namespace like this:
$.namespace('dflydev.example.util');
dflydev.example.util.demo = function() { ... }
Very much inspired by the following sources:
http://stackoverflow.com/questions/527089/is-it-possible-to-create-a-namespace-in-jquery
http://www.zachleat.com/web/2007/08/28/namespacing-outside-of-the-yahoo-namespace/