Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add license text

  • Loading branch information...
commit f1ab5c97dd998f5ea8b71f5158611e315dcb1c1d 1 parent 8f2ddb7
Syu Kato authored
21 LICENSE
View
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2012 Syu Kato <ukyo.web@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
14 README.md
View
@@ -2,6 +2,10 @@
It's a utility of zlib, gzip and zip format binary data.
+## required
+
+If you want to run in firefox, required ffDataview(http://github.com/ukyo/ffDataView).
+
## zlib
decompress compressed swf file:
@@ -28,12 +32,20 @@ compress and download:
zip:
- var b = jz.zip.compress([
+ var buffer = jz.zip.compress([
{name: "foo", childern: [ //folder
{name: "hello.txt", str: "Hello World!"}, //string
{name: "bar.js", url: "../src/bar.js"} //xhr
]}
]);
+
+ //個別に圧縮レベルを設定する場合
+ var buffer = jz.zip.compress([
+ {name: "foo", childern: [ //folder
+ {name: "hello.txt", str: "Hello World!", level: 3}, //string
+ {name: "bar.js", url: "../src/bar.js", level: 9} //xhr
+ ]}
+ ]);
unzip:
0  lib/dataview.min.js → test/lib/dataview.min.js
View
File renamed without changes
0  qunit/qunit.css → test/qunit/qunit.css
View
File renamed without changes
0  qunit/qunit.js → test/qunit/qunit.js
View
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.