forked from jweir/namespace
-
Notifications
You must be signed in to change notification settings - Fork 0
javascript function which provides an organized way to expose public functions without thinking about objects.
License
biswanaths/namespace
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
namespace
an Erlang inspired method for organizing functions
Simple example
(function(){
namespace("example", public);
function private(){ return "private" };
function public(){ private(); };
})();
example.public() // -> "private"
See http://jweir.github.com/namespace for documentationAbout
javascript function which provides an organized way to expose public functions without thinking about objects.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published