html-minifier.git
10 years agoMerge pull request #148 from remcohaszing/gh-pages
Juriy Zaytsev [Wed, 26 Mar 2014 00:31:43 +0000 (20:31 -0400)]
Merge pull request #148 from remcohaszing/gh-pages

Don't add empty string value to valueless attributes

10 years agoDon't add empty string value to valueless attributes
Remco Haszing [Tue, 25 Mar 2014 21:25:38 +0000 (22:25 +0100)]
Don't add empty string value to valueless attributes

10 years agoUpdate README
kangax [Fri, 21 Mar 2014 20:32:32 +0000 (16:32 -0400)]
Update README

10 years agoAdd support for minifying CSS in style attributes
kangax [Fri, 21 Mar 2014 17:55:19 +0000 (13:55 -0400)]
Add support for minifying CSS in style attributes

10 years agoAdd support for minifying on* attributes. WIP
kangax [Fri, 21 Mar 2014 17:49:24 +0000 (13:49 -0400)]
Add support for minifying on* attributes. WIP

10 years agoFew tweaks
kangax [Fri, 21 Mar 2014 16:22:57 +0000 (12:22 -0400)]
Few tweaks

10 years agoFix minifyCSS
kangax [Thu, 20 Mar 2014 18:06:25 +0000 (14:06 -0400)]
Fix minifyCSS

10 years agoMerge pull request #141 from XhmikosR/gh-pages
Juriy Zaytsev [Thu, 20 Mar 2014 18:05:03 +0000 (14:05 -0400)]
Merge pull request #141 from XhmikosR/gh-pages

Switch to clean-css

10 years agoTry clean-css.
XhmikosR [Tue, 18 Mar 2014 15:14:55 +0000 (17:14 +0200)]
Try clean-css.

10 years agoAdd minifiers to test page
kangax [Tue, 18 Mar 2014 05:42:38 +0000 (01:42 -0400)]
Add minifiers to test page

10 years agoMerge pull request #137 from XhmikosR/gh-pages
Juriy Zaytsev [Tue, 18 Mar 2014 05:31:30 +0000 (01:31 -0400)]
Merge pull request #137 from XhmikosR/gh-pages

Minor tweaks

10 years agoRename target.
XhmikosR [Tue, 18 Mar 2014 05:23:12 +0000 (07:23 +0200)]
Rename target.

10 years agoUpdate all dependencies.
XhmikosR [Tue, 18 Mar 2014 05:06:23 +0000 (07:06 +0200)]
Update all dependencies.

Node.js v0.10 is required for this.

10 years agoMove globals where they are needed.
XhmikosR [Tue, 18 Mar 2014 05:00:24 +0000 (07:00 +0200)]
Move globals where they are needed.

10 years agoUpdate package.json.
XhmikosR [Tue, 18 Mar 2014 04:55:25 +0000 (06:55 +0200)]
Update package.json.

* Remove unused property
* Use https for the repository link
* Move dependecies before devDependencies

10 years agoREADME.md: fix code syntax and add dependency badge.
XhmikosR [Tue, 18 Mar 2014 04:52:39 +0000 (06:52 +0200)]
README.md: fix code syntax and add dependency badge.

10 years agoAdd support for minifying CSS (minifyCSS = true) via CSSO
kangax [Tue, 18 Mar 2014 01:37:22 +0000 (21:37 -0400)]
Add support for minifying CSS (minifyCSS = true) via CSSO

10 years agoAdd another option to README
kangax [Mon, 17 Mar 2014 21:58:01 +0000 (17:58 -0400)]
Add another option to README

10 years agoUpdate README
kangax [Mon, 17 Mar 2014 21:49:20 +0000 (17:49 -0400)]
Update README

10 years agoMove uglify from devDependencies to dependencies
kangax [Mon, 17 Mar 2014 21:39:56 +0000 (17:39 -0400)]
Move uglify from devDependencies to dependencies

10 years agoAdd uglify as a dependency
kangax [Mon, 17 Mar 2014 00:53:02 +0000 (20:53 -0400)]
Add uglify as a dependency

10 years agoAdd support for JS minification of script element contents
kangax [Mon, 17 Mar 2014 00:48:17 +0000 (20:48 -0400)]
Add support for JS minification of script element contents

10 years agoAdd more boolean attributes
kangax [Sun, 16 Mar 2014 22:42:32 +0000 (18:42 -0400)]
Add more boolean attributes

10 years agoAdd google tests (more or less identical)
kangax [Fri, 14 Mar 2014 19:50:09 +0000 (15:50 -0400)]
Add google tests (more or less identical)

10 years agoUpdate README with link to Ruby wrapper
kangax [Fri, 14 Mar 2014 19:49:58 +0000 (15:49 -0400)]
Update README with link to Ruby wrapper

10 years agoNo more tags in lint output (Node friendly)
kangax [Fri, 14 Mar 2014 19:38:49 +0000 (15:38 -0400)]
No more tags in lint output (Node friendly)

10 years agoAdd another compression comparison in README
kangax [Fri, 14 Mar 2014 19:38:29 +0000 (15:38 -0400)]
Add another compression comparison in README

10 years agoAdd minifier tests
kangax [Fri, 14 Mar 2014 19:34:30 +0000 (15:34 -0400)]
Add minifier tests

10 years agoAdd more optional tags
kangax [Fri, 14 Mar 2014 18:43:59 +0000 (14:43 -0400)]
Add more optional tags

10 years agoMerge pull request #136 from Soviut/patch-1
Juriy Zaytsev [Fri, 14 Mar 2014 18:36:36 +0000 (14:36 -0400)]
Merge pull request #136 from Soviut/patch-1

Added keepClosingSlash to options list

10 years agoAdded keepClosingSlash to options list
Soviut [Fri, 14 Mar 2014 18:07:20 +0000 (14:07 -0400)]
Added keepClosingSlash to options list

10 years agoVersion 0.5.6
kangax [Wed, 12 Mar 2014 19:07:52 +0000 (15:07 -0400)]
Version 0.5.6

10 years agoMerge pull request #135 from XhmikosR/gh-pages
Juriy Zaytsev [Wed, 12 Mar 2014 18:51:59 +0000 (14:51 -0400)]
Merge pull request #135 from XhmikosR/gh-pages

Downgrade qunit so that node.js 0.8 works again.

10 years agoDowngrade qunit so that node.js 0.8 works again.
XhmikosR [Wed, 12 Mar 2014 16:18:21 +0000 (18:18 +0200)]
Downgrade qunit so that node.js 0.8 works again.

10 years agoMerge pull request #132 from XhmikosR/gh-pages
Juriy Zaytsev [Wed, 12 Mar 2014 01:43:34 +0000 (21:43 -0400)]
Merge pull request #132 from XhmikosR/gh-pages

Tweak JSHint options and add JSCS support

10 years agoAdd a few more items in `disallowSpaceAfterPrefixUnaryOperators` check.
XhmikosR [Sun, 9 Mar 2014 12:30:25 +0000 (14:30 +0200)]
Add a few more items in `disallowSpaceAfterPrefixUnaryOperators` check.

10 years agoEnable `requireSpacesInFunctionExpression`.
XhmikosR [Sun, 9 Mar 2014 12:25:21 +0000 (14:25 +0200)]
Enable `requireSpacesInFunctionExpression`.

10 years ago.jscsrc: sort rules.
XhmikosR [Sun, 9 Mar 2014 12:24:23 +0000 (14:24 +0200)]
.jscsrc: sort rules.

10 years agoSpecify `es3` in .jshintrc.
XhmikosR [Sun, 9 Mar 2014 09:11:41 +0000 (11:11 +0200)]
Specify `es3` in .jshintrc.

10 years agoRemove .npmignore.
XhmikosR [Sun, 9 Mar 2014 08:51:41 +0000 (10:51 +0200)]
Remove .npmignore.

Instead of specifying the files to ignore, specify the files to include when installing the npm package.

10 years agoAdd `dist` in `test` target.
XhmikosR [Sun, 9 Mar 2014 08:24:05 +0000 (10:24 +0200)]
Add `dist` in `test` target.

10 years agoRun `grunt dist`.
XhmikosR [Sat, 8 Mar 2014 16:04:17 +0000 (18:04 +0200)]
Run `grunt dist`.

10 years agoRemove duplicate checks from JSHint.
XhmikosR [Sun, 9 Mar 2014 08:08:18 +0000 (10:08 +0200)]
Remove duplicate checks from JSHint.

10 years agoFix JSCS warnings.
XhmikosR [Sun, 9 Mar 2014 07:49:35 +0000 (09:49 +0200)]
Fix JSCS warnings.

10 years agoRemove `requireMultipleVarDecl` for now.
XhmikosR [Sun, 9 Mar 2014 07:57:22 +0000 (09:57 +0200)]
Remove `requireMultipleVarDecl` for now.

10 years agoEnforce Unix line endings.
XhmikosR [Sun, 9 Mar 2014 07:49:20 +0000 (09:49 +0200)]
Enforce Unix line endings.

10 years agoAdd JSCS support.
XhmikosR [Sun, 9 Mar 2014 07:47:19 +0000 (09:47 +0200)]
Add JSCS support.

Config taken from fabric.js.

10 years agoAdd test.js in the JSHint check.
XhmikosR [Sat, 8 Mar 2014 21:36:48 +0000 (23:36 +0200)]
Add test.js in the JSHint check.

10 years agoEnable `strict` rule.
XhmikosR [Sat, 8 Mar 2014 21:22:05 +0000 (23:22 +0200)]
Enable `strict` rule.

10 years agoEnable `curly` check.
XhmikosR [Sat, 8 Mar 2014 21:18:17 +0000 (23:18 +0200)]
Enable `curly` check.

10 years agoRemove `eqnull`.
XhmikosR [Sat, 8 Mar 2014 16:08:08 +0000 (18:08 +0200)]
Remove `eqnull`.

10 years agoEnable JSHint's `newcap` option.
XhmikosR [Sat, 8 Mar 2014 15:58:34 +0000 (17:58 +0200)]
Enable JSHint's `newcap` option.

10 years agoUpdate dependencies.
XhmikosR [Sat, 8 Mar 2014 15:56:03 +0000 (17:56 +0200)]
Update dependencies.

Note that the remaining modules  are left out due to the fact that the newer versions don't support node.js 0.8.

10 years agoMove npm module badge first.
XhmikosR [Sat, 8 Mar 2014 15:55:17 +0000 (17:55 +0200)]
Move npm module badge first.

10 years agoMerge pull request #133 from matthewwithanm/options-table
Juriy Zaytsev [Mon, 10 Mar 2014 19:28:14 +0000 (15:28 -0400)]
Merge pull request #133 from matthewwithanm/options-table

Add options quick reference; closes GH-131

10 years agoAdd options quick reference; closes GH-131
Matthew Dapena-Tretter [Mon, 10 Mar 2014 19:06:24 +0000 (15:06 -0400)]
Add options quick reference; closes GH-131

10 years agoUpdate README.md
Juriy Zaytsev [Sat, 8 Mar 2014 14:43:27 +0000 (09:43 -0500)]
Update README.md

10 years agoMerge pull request #126 from XhmikosR/gh-pages
Juriy Zaytsev [Tue, 18 Feb 2014 19:36:01 +0000 (14:36 -0500)]
Merge pull request #126 from XhmikosR/gh-pages

Enable JSHint's `quotmark` rule.

10 years agoMerge pull request #125 from XhmikosR/qunit
Juriy Zaytsev [Tue, 18 Feb 2014 17:55:40 +0000 (12:55 -0500)]
Merge pull request #125 from XhmikosR/qunit

Update QUnit to 1.14.0.

10 years agoEnable JSHint's `quotmark` rule.
XhmikosR [Tue, 18 Feb 2014 17:39:47 +0000 (19:39 +0200)]
Enable JSHint's `quotmark` rule.

10 years agoUpdate QUnit to 1.14.0.
XhmikosR [Tue, 18 Feb 2014 17:33:52 +0000 (19:33 +0200)]
Update QUnit to 1.14.0.

10 years agoMerge pull request #114 from XhmikosR/gh-pages
Juriy Zaytsev [Tue, 18 Feb 2014 17:30:47 +0000 (12:30 -0500)]
Merge pull request #114 from XhmikosR/gh-pages

Switch to Grunt

10 years agoHTML: specify language.
XhmikosR [Tue, 18 Feb 2014 16:59:42 +0000 (18:59 +0200)]
HTML: specify language.

10 years agoIgnore Gruntfile.js when installing the package too.
XhmikosR [Tue, 18 Feb 2014 16:07:56 +0000 (18:07 +0200)]
Ignore Gruntfile.js when installing the package too.

10 years agoMove globals where they are used.
XhmikosR [Tue, 18 Feb 2014 16:01:02 +0000 (18:01 +0200)]
Move globals where they are used.

10 years agoEnable JSHint's `indent` option.
XhmikosR [Tue, 18 Feb 2014 16:00:36 +0000 (18:00 +0200)]
Enable JSHint's `indent` option.

Now the code should have consistent indentation.

10 years agoUse grunt-exec for the tests.
XhmikosR [Tue, 18 Feb 2014 15:53:56 +0000 (17:53 +0200)]
Use grunt-exec for the tests.

10 years agoGruntfile.js: switch to 2 space indentation to match the rest of the codebase.
XhmikosR [Tue, 18 Feb 2014 15:51:38 +0000 (17:51 +0200)]
Gruntfile.js: switch to 2 space indentation to match the rest of the codebase.

10 years agoTweak license headers.
XhmikosR [Tue, 18 Feb 2014 15:43:06 +0000 (17:43 +0200)]
Tweak license headers.

10 years agoRemove unneeded arrays.
XhmikosR [Tue, 18 Feb 2014 15:35:11 +0000 (17:35 +0200)]
Remove unneeded arrays.

10 years agoLint all JS files.
XhmikosR [Tue, 18 Feb 2014 15:25:29 +0000 (17:25 +0200)]
Lint all JS files.

10 years agoRun `grunt dist`.
XhmikosR [Tue, 18 Feb 2014 15:18:57 +0000 (17:18 +0200)]
Run `grunt dist`.

10 years agoUse license object instead of licenses array.
XhmikosR [Tue, 18 Feb 2014 15:18:19 +0000 (17:18 +0200)]
Use license object instead of licenses array.

10 years agoAdd banner to dist files.
XhmikosR [Tue, 28 Jan 2014 11:59:29 +0000 (13:59 +0200)]
Add banner to dist files.

10 years agoDrop Node.js 0.6 support.
XhmikosR [Tue, 28 Jan 2014 08:16:54 +0000 (10:16 +0200)]
Drop Node.js 0.6 support.

10 years agoSwitch to Grunt.
XhmikosR [Tue, 28 Jan 2014 08:09:08 +0000 (10:09 +0200)]
Switch to Grunt.

10 years agoMerge pull request #124 from Larixk/patch-1
Juriy Zaytsev [Tue, 18 Feb 2014 02:36:05 +0000 (21:36 -0500)]
Merge pull request #124 from Larixk/patch-1

Fixed bug in custom testers

10 years agoFixed bug in custom testers
Larix Kortbeek [Tue, 18 Feb 2014 00:27:41 +0000 (01:27 +0100)]
Fixed bug in custom testers

Even when a `canCollapseWhitespace` 'tester' was passed, it was never used. The code in `_canCollapseWhitespace` erroneously refered to `options.canTrimWhitespace`. This change fixes this.

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:41:26 +0000 (13:41 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:41:04 +0000 (13:41 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:39:50 +0000 (13:39 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:39:06 +0000 (13:39 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:32:55 +0000 (13:32 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:32:15 +0000 (13:32 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:29:31 +0000 (13:29 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:27:36 +0000 (13:27 -0500)]
Update table

10 years agoAdd comparison table
kangax [Sun, 16 Feb 2014 18:23:09 +0000 (13:23 -0500)]
Add comparison table

10 years agoMerge pull request #121 from kotnik/devease
Juriy Zaytsev [Fri, 14 Feb 2014 02:07:16 +0000 (21:07 -0500)]
Merge pull request #121 from kotnik/devease

Test runner does not minify, so don't test minified version

10 years agoMerge pull request #122 from kotnik/closingSlash
Juriy Zaytsev [Fri, 14 Feb 2014 02:04:54 +0000 (21:04 -0500)]
Merge pull request #122 from kotnik/closingSlash

Add an option to keep closing slash in singleton tags

10 years agoAdd an option to keep closing slash in singleton tags
Nikola Kotur [Thu, 13 Feb 2014 23:14:59 +0000 (00:14 +0100)]
Add an option to keep closing slash in singleton tags

If ``keepClosingSlash`` is set to ``true`` in options, closing singleton slash
will be preserved. This is important for HTML5 being minified, since in HTML5
closing slash is not optional and affects the DOM significantly.

Closes #76.

10 years agoTest runner does not minify, so don't test minified version
Nikola Kotur [Thu, 13 Feb 2014 23:09:43 +0000 (00:09 +0100)]
Test runner does not minify, so don't test minified version

10 years agoUpdate dist
kangax [Mon, 3 Feb 2014 20:33:31 +0000 (15:33 -0500)]
Update dist

10 years agoFix quotes in attributes
kangax [Mon, 3 Feb 2014 20:32:25 +0000 (15:32 -0500)]
Fix quotes in attributes

10 years agoMerge pull request #116 from XhmikosR/qunit
Juriy Zaytsev [Thu, 30 Jan 2014 23:00:27 +0000 (15:00 -0800)]
Merge pull request #116 from XhmikosR/qunit

Update Qunit to 1.13.

10 years agoUpdate Qunit to 1.13.
XhmikosR [Thu, 30 Jan 2014 18:27:26 +0000 (20:27 +0200)]
Update Qunit to 1.13.

10 years agoMerge pull request #115 from XhmikosR/lint
Juriy Zaytsev [Tue, 28 Jan 2014 23:37:59 +0000 (15:37 -0800)]
Merge pull request #115 from XhmikosR/lint

Lint

10 years agoMissing semicolons.
XhmikosR [Tue, 28 Jan 2014 08:04:01 +0000 (10:04 +0200)]
Missing semicolons.

10 years agosrc/htmlparser.js: fix semicolon used instead of comma.
XhmikosR [Tue, 28 Jan 2014 07:59:06 +0000 (09:59 +0200)]
src/htmlparser.js: fix semicolon used instead of comma.

10 years agoMake </source> tag optional. Closes #92
kangax [Fri, 24 Jan 2014 15:21:14 +0000 (10:21 -0500)]
Make </source> tag optional. Closes #92

10 years agoAdd flattr button
kangax [Fri, 24 Jan 2014 15:04:07 +0000 (10:04 -0500)]
Add flattr button