OLD | NEW |
1 /* jsmin.c | 1 /* jsmin.c |
2 2011-01-22 | 2 2011-01-22 |
3 | 3 |
4 Copyright (c) 2002 Douglas Crockford (www.crockford.com) | 4 Copyright (c) 2002 Douglas Crockford (www.crockford.com) |
5 | 5 |
6 Permission is hereby granted, free of charge, to any person obtaining a copy of | 6 Permission is hereby granted, free of charge, to any person obtaining a copy of |
7 this software and associated documentation files (the "Software"), to deal in | 7 this software and associated documentation files (the "Software"), to deal in |
8 the Software without restriction, including without limitation the rights to | 8 the Software without restriction, including without limitation the rights to |
9 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | 9 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies |
10 of the Software, and to permit persons to whom the Software is furnished to do | 10 of the Software, and to permit persons to whom the Software is furnished to do |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 extern int | 282 extern int |
283 main(int argc, char* argv[]) | 283 main(int argc, char* argv[]) |
284 { | 284 { |
285 int i; | 285 int i; |
286 for (i = 1; i < argc; i += 1) { | 286 for (i = 1; i < argc; i += 1) { |
287 fprintf(stdout, "// %s\n", argv[i]); | 287 fprintf(stdout, "// %s\n", argv[i]); |
288 } | 288 } |
289 jsmin(); | 289 jsmin(); |
290 return 0; | 290 return 0; |
291 } | 291 } |
OLD | NEW |