basisjs-tools
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -378,8 +378,7 @@ | ||
if (options.encoding) | ||
if (content.length > 512 && options.encoding) | ||
{ | ||
headers['Content-Encoding'] = options.encoding; | ||
if (false && options.file && options.file.zip && options.encoding in options.file.zip | ||
/* FIXME: i'm a hack */ && /text\/html/.test(options.contentType)) | ||
if (options.file && options.file.zip && options.encoding in options.file.zip) | ||
content = options.file.zip[options.encoding]; | ||
@@ -396,3 +395,4 @@ else | ||
{ | ||
if (options.file && options.file.zip) | ||
/* FIXME: check for content-type is a hack */ | ||
if (!/text\/html/.test(options.contentType) && options.file && options.file.zip) | ||
options.file.zip[options.encoding] = content; | ||
@@ -855,3 +855,6 @@ | ||
if (contentChanged) | ||
{ | ||
fileInfo.content = newContent; | ||
fileInfo.zip = {}; | ||
} | ||
@@ -877,2 +880,3 @@ newFileInfo.content = newContent; | ||
file.content = null; | ||
file.zip = {}; | ||
} | ||
@@ -879,0 +883,0 @@ } |
{ | ||
"name": "basisjs-tools", | ||
"title": "Basis developer tools", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"homepage": "https://github.com/basisjs/basisjs-tools", | ||
@@ -6,0 +6,0 @@ "description": "Developer 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
348808
10392