Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "fastboot", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Library for rendering Ember apps in node.js", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -44,2 +44,12 @@ # FastBoot | ||
### Default globals | ||
`FastBoot` object will be available to the sandboxed environment. This object has the following form: | ||
``` | ||
FastBoot.require // provides a mechanism to load additional modules. Note: these modules are only those included in the module whitelist | ||
FastBoot.config // a function which takes a key, and returns the corresponding fastboot config value | ||
FastBoot.distPath // readOnly accessor that provides the dist path for the current fastboot sandbox | ||
``` | ||
### Additional configuration | ||
@@ -46,0 +56,0 @@ |
@@ -95,3 +95,6 @@ 'use strict'; | ||
require: sandboxRequire, | ||
config: fastbootConfig | ||
config: fastbootConfig, | ||
get distPath() { | ||
return distPath; | ||
} | ||
} | ||
@@ -98,0 +101,0 @@ }; |
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
51268
1048
137