Merge "SVG: SVG unit parser support for wider range of number"
[lhc/web/wiklou.git] / resources / lib / easy-deflate / README.md
1 Modified version of Easy-Deflate https://github.com/Jacob-Christian-Munch-Andersen/Easy-Deflate
2
3 This version: https://github.com/edg2s/Easy-Deflate
4
5 * Added semi-colons to easydeflate.js so it can be minified
6 * Namespaced functions inside global EasyDeflate object
7 * Base64 lib replaced with one with detailed license info
8
9 Modifications by Ed Sanders, Public Domain.
10
11 Easy-Deflate
12 ============
13
14 Library for compressing and decompressing strings in JavaScript, feature full Unicode support and is compatible with most browsers.
15
16 Use:
17 ====
18 Copy the script inclusion from demo.html.<br>
19 Call EasyDeflate.deflate(foo) in order to compress a string.<br>
20 Call EasyDeflate.inflate(bar) in order to decompress a string compressed in this manner.<br>
21 Both functions return a string, or null in case of illegal input.
22
23 The compression works by first UTF-8 encoding the input, then compressing it to a raw deflate stream. The stream is then base64 encoded, and finally the identifier "rawdeflate," is prepended.
24
25 Credits:
26 ========
27 Gildas Lormeau made the JavaScript conversion of a Deflate utility: https://github.com/gildas-lormeau/zip.js<br>
28 Jacob Christian Munch-Andersen made this package in order to make simple use easier and compatible with older browsers.
29
30 The following shims are included:<br>
31 es5-shim by Kristopher Michael Kowal https://github.com/kriskowal/es5-shim<br>
32 JSON 3 by Kit Cambridge http://bestiejs.github.com/json3/<br>
33 Typed arrays light shim by Jacob Christian Munch-Andersen https://github.com/Jacob-Christian-Munch-Andersen/Typed-arrays-light-shim<br>
34 <s>base64 by Yaffle https://gist.github.com/1284012</s>
35
36 License:
37 ========
38 Main packages come with a BSD licence, the shims, except for base64 that include no license text, each has a permissive license.