assets-include
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,6 @@ | ||
[1.1.1 / 2014-03-15](https://github.com/GoalSmashers/assets-include/compare/v1.1.0...v1.1.1) | ||
================== | ||
* Fixed issue [#2](https://github.com/GoalSmashers/assets-include/issues/2) - allows `config` to be an absolute path. | ||
[1.1.0 / 2014-03-12](https://github.com/GoalSmashers/assets-include/compare/v1.0.0...v1.1.0) | ||
@@ -2,0 +7,0 @@ ================== |
@@ -76,7 +76,8 @@ (function() { | ||
var AssetsInclude = function(pathToConfig, options) { | ||
var configDir = path.dirname(pathToConfig); | ||
var rootPath = process.cwd(); | ||
var configDir = path.dirname(pathToConfig).replace(rootPath, ''); | ||
this.options = options || {}; | ||
this.pathToConfig = pathToConfig; | ||
this.rootPath = process.cwd(); | ||
this.rootPath = rootPath; | ||
this.hostsIterator = hostsIterator(this.options.assetHosts); | ||
@@ -83,0 +84,0 @@ |
{ | ||
"name": "assets-include", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": "GoalSmashers.com <jakub@goalsmashers.com>", | ||
@@ -5,0 +5,0 @@ "description": "Include assets into your views with ease (assets-packager compatible).", |
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
15163
143