Basename namesapce option for modules
This commit is contained in:
@@ -42,10 +42,11 @@ The modular constructor accept several settings :
|
||||
path : [ 'app/module.js', 'app/module2.js', 'app/subfolder' ]
|
||||
override : true, /* modules override already loaded modules in case of collision
|
||||
default value : false */
|
||||
namespace : 'namespace', /* namespace is appended before the deduced namespace */
|
||||
namespace : 'namespace', /* specify the namespace of the module */
|
||||
baseNamespace : 'base', /* base namespace appended to module namespace */
|
||||
basePath : 'path/path2', /* the base path used to deduce the namespace of modules
|
||||
default value : path value (when path is a directory) */
|
||||
fullName : 'namespace.name',/* specify the full name of the module
|
||||
name : 'name', /* specify the name of the module
|
||||
Only when path is one file. Doesn't work with namespace setting */
|
||||
liveReload : true, /* enable or disable liveReload on a file/folder basis
|
||||
default value : false */
|
||||
|
||||
Reference in New Issue
Block a user