Skip to content

Commit

Permalink
Merge pull request #167 from SheetJSDev/master
Browse files Browse the repository at this point in the history
removed trailing whitespaces and commas
  • Loading branch information
dduponchel committed Aug 22, 2014
2 parents 64b3312 + bb83629 commit bf7ec8c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = function(grunt) {
browserify: {
all: {
files: {
'dist/jszip.js': ['lib/index.js'],
'dist/jszip.js': ['lib/index.js']
},
options: {
bundleOptions: {
Expand Down
12 changes: 6 additions & 6 deletions dist/jszip.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ Usage:
function JSZip(data, options) {
// if this constructor is used without `new`, it adds `new` before itself:
if(!(this instanceof JSZip)) return new JSZip(data, options);

// object containing the files :
// {
// "folder/" : {...},
Expand Down Expand Up @@ -588,7 +588,7 @@ module.exports = function(data, options) {
(function (Buffer){
'use strict';
module.exports = function(data, encoding){
return new Buffer(data, encoding);
return new Buffer(data, encoding);
};
module.exports.test = function(b){
return Buffer.isBuffer(b);
Expand Down Expand Up @@ -898,7 +898,7 @@ var parentFolder = function (path) {
* Add a (sub) folder in the current folder.
* @private
* @param {string} name the folder's name
* @param {boolean=} [createFolders] If true, automatically create sub
* @param {boolean=} [createFolders] If true, automatically create sub
* folders. Defaults to false.
* @return {Object} the new folder.
*/
Expand Down Expand Up @@ -1357,7 +1357,7 @@ var out = {
default : // case "string" :
return zip;
}

},

/**
Expand Down Expand Up @@ -5554,7 +5554,7 @@ function GZheader() {
// but leave for few code modifications

//
// Setup limits is not necessary because in js we should not preallocate memory
// Setup limits is not necessary because in js we should not preallocate memory
// for inflate use constant limit in 65536 bytes
//

Expand Down Expand Up @@ -8979,4 +8979,4 @@ function ZStream() {
module.exports = ZStream;
},{}]},{},[9])
(9)
});
});
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Usage:
function JSZip(data, options) {
// if this constructor is used without `new`, it adds `new` before itself:
if(!(this instanceof JSZip)) return new JSZip(data, options);

// object containing the files :
// {
// "folder/" : {...},
Expand Down
4 changes: 2 additions & 2 deletions lib/nodeBuffer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
module.exports = function(data, encoding){
return new Buffer(data, encoding);
return new Buffer(data, encoding);
};
module.exports.test = function(b){
return Buffer.isBuffer(b);
};
};
4 changes: 2 additions & 2 deletions lib/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ var parentFolder = function (path) {
* Add a (sub) folder in the current folder.
* @private
* @param {string} name the folder's name
* @param {boolean=} [createFolders] If true, automatically create sub
* @param {boolean=} [createFolders] If true, automatically create sub
* folders. Defaults to false.
* @return {Object} the new folder.
*/
Expand Down Expand Up @@ -738,7 +738,7 @@ var out = {
default : // case "string" :
return zip;
}

},

/**
Expand Down

0 comments on commit bf7ec8c

Please sign in to comment.