@adonisjs/ignitor
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -0,1 +1,11 @@ | ||
<a name="2.0.5"></a> | ||
## [2.0.5](https://github.com/adonisjs/adonis-ignitor/compare/v2.0.4...v2.0.5) (2018-02-08) | ||
### Reverts | ||
* **helpers:** remove the concept of sharing directories ([4b73862](https://github.com/adonisjs/adonis-ignitor/commit/4b73862)) | ||
<a name="2.0.4"></a> | ||
@@ -2,0 +12,0 @@ ## [2.0.4](https://github.com/adonisjs/adonis-ignitor/compare/v2.0.3...v2.0.4) (2018-02-08) |
{ | ||
"name": "@adonisjs/ignitor", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Fire the adonis-app (in good sense)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,19 +30,5 @@ 'use strict' | ||
this._appRoot = appRoot | ||
this.directories = {} | ||
} | ||
/** | ||
* Set app directories | ||
* | ||
* @method appDirectories | ||
* | ||
* @param {Object} directories | ||
* | ||
* @return {void} | ||
*/ | ||
appDirectories (directories) { | ||
this.directories = Object.freeze(Object.assign({}, directories)) | ||
} | ||
/** | ||
* Returns path to the application root | ||
@@ -49,0 +35,0 @@ * |
@@ -219,8 +219,3 @@ 'use strict' | ||
_registerHelpers () { | ||
this._fold.ioc.singleton('Adonis/Src/Helpers', () => { | ||
const helpers = new Helpers(this._appRoot) | ||
helpers.appDirectories(DIRECTORIES) | ||
return helpers | ||
}) | ||
this._fold.ioc.singleton('Adonis/Src/Helpers', () => new Helpers(this._appRoot)) | ||
this._fold.ioc.alias('Adonis/Src/Helpers', 'Helpers') | ||
@@ -227,0 +222,0 @@ debug('registered helpers') |
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
38401
1040