gedbac/Raven — Issue #8: Refactor $namespace keyword
Author: gedbac
Created: 2011-11-20 07:51:57+00:00
State: open

Scope function must be passed to $namespace.

Current usage:

$namespace("my.module1");

my.module1.MyClass = ...;

This definition should be replaced whit such definition:

$namespace("my.module1", function () {
var MyClass = ...;
});