abstract-file
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -411,3 +411,3 @@ (function() { | ||
result = this.loadContentSync(aOptions); | ||
if (aOptions.skipSize && isFunction(result.slice)) { | ||
if (aOptions.skipSize > 0 && isFunction(result.slice)) { | ||
result = result.slice(aOptions.skipSize); | ||
@@ -428,3 +428,3 @@ } | ||
return this.loadContent(aOptions, function(err, result) { | ||
if (result && aOptions.skipSize && isFunction(result.slice)) { | ||
if (result && aOptions.skipSize > 0 && isFunction(result.slice)) { | ||
result = result.slice(aOptions.skipSize); | ||
@@ -431,0 +431,0 @@ } |
{ | ||
"name": "abstract-file", | ||
"description": "It can be used on any virtual file system, and stream supports.", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"homepage": "https://github.com/snowyu/abstract-file.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
93042