source: project/wiki/eggref/4/jsmin @ 27938

Last change on this file since 27938 was 27938, checked in by Jim Ursetto, 8 years ago

Remove explicit wiki.call-cc.org hostname from intrawiki links

Strip hostname from all intrawiki links, making the URL relative
but leaving the path as absolute. This permits offline qwiki use.
References to /chicken-projects (egg index, RSS) were left as-is.

Also removed most percent encoding, as it's not currently handled
well by qwiki or chickadee, and spaces work fine in source URLs.

  • Property svnwiki:tags set to javascript
  • Property svnwiki:title set to jsmin
File size: 1.1 KB
Line 
1== jsmin
2
3[[toc:]]
4
5=== Description
6
7jsmin is an almost line-by-line translation of [[http://www.crockford.com/javascript/jsmin.html|Douglas Crockford's jsmin]] C code to Scheme.
8
9See the [[http://www.crockford.com/javascript/jsmin.html|jsmin page]] to see what it does and what you should beware of when using it.
10
11
12=== Author
13
14Douglas Crockford is the author of jsmin.  [[/users/mario-domenech-goulart|Mario Domenech Goulart]] translated it to Scheme.
15
16
17=== Repository
18
19The git repository for the jsmin source code is hosted by github:
20[[https://github.com/mario-goulart/jsmin|https://github.com/mario-goulart/jsmin]].
21
22
23
24=== Requirements
25
26None
27
28
29=== Procedures
30
31==== jsmin-string
32<procedure>(jsmin-string str)</procedure>
33
34Return a minified string from the given string containing javascript code.
35
36==== jsmin-file
37<procedure>(jsmin-file file)</procedure>
38
39Return a minified string from the contents of the given javascript file.
40
41
42=== License
43
44BSD
45
46
47=== Version history
48
49==== Version 2.1
50* jsmin compiled with -O3
51* Added tests
52
53==== Version 2.0
54* License changed to BSD
55
56==== Version 1.0
57* Initial release
Note: See TracBrowser for help on using the repository browser.