@@ -41,13 +41,15 @@ component {
4141 */
4242 function configure (){
4343 // cborm Settings
44- settings = structCopy ( variables .SETTING_DEFAULTS );
44+ variables . settings = structCopy ( variables .SETTING_DEFAULTS );
4545
4646 // Register Custom DSL, don't map it because it is too late, mapping DSLs are only good by the parent app
47- controller .getWireBox ().registerDSL ( namespace = " entityService" , path = " #moduleMapping #.dsl.OrmDsl" );
47+ variables .controller
48+ .getWireBox ()
49+ .registerDSL ( namespace = " entityService" , path = " #moduleMapping #.dsl.OrmDsl" );
4850
4951 // Custom Declared Points
50- interceptorSettings = {
52+ variables . interceptorSettings = {
5153 customInterceptionPoints : [
5254 // CriteriaBuilder Events
5355 " onCriteriaBuilderAddition" ,
@@ -77,19 +79,19 @@ component {
7779 };
7880
7981 // Custom Declared Interceptors
80- interceptors = [];
82+ variables . interceptors = [];
8183 }
8284
8385 /**
8486 * Fired when the module is registered and activated.
8587 */
8688 function onLoad (){
8789 // Prepare setting defaults
88- settings .resources .append ( variables .SETTING_DEFAULTS .resources , false );
89- settings .injection .append ( variables .SETTING_DEFAULTS .injection , false );
90+ variables . settings .resources .append ( variables .SETTING_DEFAULTS .resources , false );
91+ variables . settings .injection .append ( variables .SETTING_DEFAULTS .injection , false );
9092 // Are we loading the event loader
91- if ( settings .resources .eventLoader ) {
92- wirebox .getInstance ( " ResourceEventLoader@cborm" ).loadEvents ();
93+ if ( variables . settings .resources .eventLoader ) {
94+ variables . wirebox .getInstance ( " ResourceEventLoader@cborm" ).loadEvents ();
9395 }
9496 }
9597
0 commit comments