basisjs-tools-build
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -0,1 +1,5 @@ | ||
## 1.7.2 (July 21, 2016) | ||
- Changed path format for implicit `SourceWrappers` to neutral one (change prefix `#N` → `.N`) to fix issue when `SourceWrapper#path` is using as `<b:include>` source (`src` attribute value) | ||
## 1.7.1 (July 18, 2016) | ||
@@ -2,0 +6,0 @@ |
@@ -125,4 +125,9 @@ var pathUtils = require('path'); | ||
var getSourceByPath = exports.get; | ||
// for backward capability with basis.js prior template packages | ||
var normalizePath = exports.n3ormalizePath || function(path){ | ||
return path; | ||
}; | ||
exports.get = function(path){ | ||
if (exports.getPathList().indexOf(path) != -1) | ||
if (exports.getPathList().indexOf(normalizePath(path)) != -1) | ||
return getSourceByPath.apply(this, arguments); | ||
@@ -129,0 +134,0 @@ }; |
@@ -105,3 +105,3 @@ var Token = require('./Token.js'); | ||
var templateKey = '#' + (flow.tmpl.implicitDefineSeed++).toString(36); | ||
var templateKey = '.' + (flow.tmpl.implicitDefineSeed++).toString(36); | ||
var content = this.cultureValues[culture][key]; | ||
@@ -108,0 +108,0 @@ |
@@ -50,3 +50,3 @@ var Token = require('./Token.js'); | ||
var templateKey = '#' + (flow.tmpl.implicitDefineSeed++).toString(36); | ||
var templateKey = '.' + (flow.tmpl.implicitDefineSeed++).toString(36); | ||
var content = descriptor.value; | ||
@@ -53,0 +53,0 @@ |
@@ -174,3 +174,3 @@ var js_at = require('basisjs-tools-ast').js; | ||
{ | ||
id = '#' + (flow.tmpl.implicitDefineSeed++).toString(36); | ||
id = '.' + (flow.tmpl.implicitDefineSeed++).toString(36); | ||
implicitMap[file.relpath] = id; | ||
@@ -177,0 +177,0 @@ var resToken = token.slice(); |
{ | ||
"name": "basisjs-tools-build", | ||
"title": "Basis.js build tools", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"homepage": "https://github.com/basisjs/basisjs-tools", | ||
@@ -6,0 +6,0 @@ "description": "Build tools for basis.js framework", |
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
289934
8902