generated from coldbox-modules/module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModuleConfig.cfc
More file actions
53 lines (43 loc) · 1.1 KB
/
ModuleConfig.cfc
File metadata and controls
53 lines (43 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
* www.ortussolutions.com
* ---
*/
component {
// Module Properties
this.title = "mixr";
this.author = "Angry Sam Productions, Inc.";
this.webURL = "https://github.com/homestar9/mixr";
this.description = "Returns the mix'd path of a public asset from a manifest file";
this.version = "1.0.0";
// Model Namespace
this.modelNamespace = "mixr";
// CF Mapping
this.cfmapping = "mixr";
// Dependencies
this.dependencies = [];
// Application helper
this.applicationHelper = [ "helpers/Mixins.cfm" ];
/**
* Configure Module
*/
function configure(){
settings = {
"manifestPath" = "/includes/mix-manifest.json",
"prependModuleRoot" = true,
"prependPath" = "/includes",
"modules": {}
};
}
/**
* Fired when the module is registered and activated.
*/
function onLoad(){
binder.map( "Mixr@mixr" ).to( "#moduleMapping#.models.Mixr" );
}
/**
* Fired when the module is unregistered and unloaded
*/
function onUnload(){
}
}