Skip to content
Browse files

reviewed API.md

  • Loading branch information...
1 parent 8b66d2f commit d3af9615fdf7193abdddacfc3978699b5f61b755 @bjouhier bjouhier committed Feb 23, 2012
Showing with 6 additions and 6 deletions.
  1. +3 −3 API.md
  2. +3 −3 janzip/janzip.js
View
6 API.md
@@ -17,11 +17,11 @@ Simple API to create a zip archive. No external dependencies (except streamline.
You may also specify a `date` in the entry.
If you pass a directory `path`, you can also pass a `filter` function in the entry.
The `filter` function will be called as `filter(filename, parentEntry)`.
- You can also pass an array of entries instead of a single entry.
+ You can also pass an array of entries instead of a single entry.
Returns `this` for chaining
-* `archive.finish(_)`
- Writes the trailer at the end of the archive.
+* `archive.finish(_)`
+ Writes the trailer at the end of the archive.
Returns `this` for chaining.
* `zipMethod: zip.store`
View
6 janzip/janzip.js
@@ -126,7 +126,7 @@ exports.Zip = function(outStream, options) {
/// You may also specify a `date` in the entry.
/// If you pass a directory `path`, you can also pass a `filter` function in the entry.
/// The `filter` function will be called as `filter(filename, parentEntry)`.
- /// You can also pass an array of entries instead of a single entry.
+ /// You can also pass an array of entries instead of a single entry.
/// Returns `this` for chaining
///
this.add = function(_, entry) {
@@ -162,8 +162,8 @@ exports.Zip = function(outStream, options) {
return this;
}
- /// * `archive.finish(_)`
- /// Writes the trailer at the end of the archive.
+ /// * `archive.finish(_)`
+ /// Writes the trailer at the end of the archive.
/// Returns `this` for chaining.
///
this.finish = function(_) {

0 comments on commit d3af961

Please sign in to comment.
Something went wrong with that request. Please try again.