Comparing version 1.0.0-beta-6 to 1.0.0-beta-7
{ | ||
"name": "trailpack", | ||
"version": "1.0.0-beta-6", | ||
"version": "1.0.0-beta-7", | ||
"description": "Trailpack Interface. Trailpacks extend the functionality of the Trails framework.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -130,10 +130,12 @@ # trailpack | ||
#### `configure()` | ||
Extend the configuration (`config/`, or `app.config`) of the application, or | ||
add new configuration objects. This method is run before the application | ||
has loaded. You can alter application configuration here. | ||
Alter/Extend the configuration (`app.config`) of the application, or | ||
add new sections to the config object for the trailpack. This method | ||
is run before the application is loaded -- after validate, and before | ||
initialize. Trails does not allow further configuration changes after | ||
this lifecycle stage is complete. | ||
#### `initialize()` | ||
If you need to bind any event listeners, start servers, connect to databases, | ||
all of that should be done in initialize. Here, all of the configuration is | ||
loaded and finalized. | ||
all of that should be done in initialize. The app's configuration is guaranteed to be | ||
loaded and finalized before this stage. | ||
@@ -140,0 +142,0 @@ ## Contributing |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28084
161