|
15bd3bf91a
|
Default to empty config
Otherwise, certainly situations will cause a silent error.
Specifically, this allows you to use `svg -f` without a config file.
|
2014-08-26 16:54:58 +02:00 |
|
|
8aad30398e
|
Merge pull request #228 from mako-taco/master
Fix --output and --folder options
|
2014-08-02 16:01:02 +04:00 |
|
|
c3baa8d6bc
|
Fix an error with string replace() method on attributes caused by #198
|
2014-08-02 15:46:28 +04:00 |
|
|
38cc771e36
|
Update coa.js
let output work with folder, allow folder option to continue after it encounters a non-svg file
|
2014-07-28 09:59:58 -04:00 |
|
|
6babac8d16
|
Fixes issue when original SVG has attributes with value containing "e
|
2014-03-28 16:01:54 +08:00 |
|
|
fbb99b2867
|
Always traverse all files in the given folder.
|
2013-06-24 11:43:45 +03:00 |
|
|
0bb214c438
|
Look for config file in current folder
Look for config file in current dir, not `coa.js`'s dir.
Also remove superfluous `process.cwd()`
|
2013-06-19 14:36:01 +04:00 |
|
|
84df823fb5
|
lib/coa: optimize folder file by file (temp fix #114)
|
2013-06-06 12:54:24 +03:00 |
|
|
9e9f7d0cd2
|
better error handling
|
2013-04-15 15:32:51 +03:00 |
|
|
128f94d52b
|
coa: different types of Data URI strings (close #105)
|
2013-04-12 14:16:35 +03:00 |
|
|
74f4685ce4
|
coa: repair --disable and --enable opts
|
2013-04-12 13:14:56 +03:00 |
|
|
6dfa5b1c63
|
config: fix default params extending
|
2013-04-11 20:46:35 +03:00 |
|
|
2dea171f8e
|
replace default config with full: true
|
2013-04-11 19:51:29 +03:00 |
|
|
d4949235ce
|
config: enable plugin with params object
|
2013-04-11 17:42:30 +03:00 |
|
|
1b47d12f53
|
coa: config-full as json string
|
2013-04-11 17:42:00 +03:00 |
|
|
c1faaa5bf2
|
fix default config extending
|
2013-04-10 18:31:28 +03:00 |
|
|
a2da6fe894
|
CONFIG.extend() + CONFIG.replace() + tests
|
2013-04-10 18:12:14 +03:00 |
|
|
578cf60f1d
|
node.extend -> whet.extend
|
2013-04-10 14:48:07 +03:00 |
|
|
2816424ed7
|
global refactoring dump
|
2013-04-09 22:06:27 +03:00 |
|
|
7f5512ba3a
|
new plugins/cropAndCenterAlongPath
|
2013-04-05 18:00:19 +03:00 |
|
|
a0d409389f
|
yaml.js -> js-yaml; update outdated deps
|
2013-02-09 13:03:29 +02:00 |
|
|
ea7173b0df
|
plugins/convertPathData: -1.816-9.278.682-13.604 parsing error (fix #85)
|
2012-12-21 16:59:48 +02:00 |
|
|
45952089d3
|
restore HTML entities back (fix #80 + #81)
|
2012-12-17 22:31:54 +02:00 |
|
|
8bf3f40590
|
lib/svgo/coa: refactoring, colors and fix #70
|
2012-12-17 22:31:38 +02:00 |
|
|
74bbdb46cc
|
lib/svgo: store elapsed time in result object
|
2012-12-17 22:31:28 +02:00 |
|
|
dd64505606
|
handle 'there is nothing to optimize' case and display a message about it (fix #61)
|
2012-12-07 14:04:08 +02:00 |
|
|
354b2ed46a
|
mocha + mocha-as-promised + chai + chai-as-promised + should + istanbul = <3
|
2012-12-05 23:53:13 +02:00 |
|
|
9155e8a9b4
|
more code coverage with Istanbul
|
2012-12-01 23:03:31 +02:00 |
|
|
67daff27b1
|
new plugin: decrease accuracy of floating-point numbers (close #8)
|
2012-11-29 18:24:06 +02:00 |
|
|
5485010269
|
'use strict' motherfucker! do you use it?!
|
2012-11-27 22:51:31 +02:00 |
|
|
d35cec2900
|
lib/svgo: rename 'startBytes' to 'inBytes' and 'endBytes' to 'outBytes (close #53)
|
2012-11-23 23:56:33 +04:00 |
|
|
755e7ecf81
|
lib/svgo/svg2js: correct 'onerror' failure (fix #51); omit unused require
|
2012-11-23 23:43:27 +04:00 |
|
|
1e86425dcf
|
plugins/moveElemsAttrsToGroup: should affect only inheritable attributes (fix #46)
|
2012-11-18 20:05:36 +02:00 |
|
|
547ec0096e
|
rename config.yml to .svgo.yml (close #45)
|
2012-11-18 18:08:46 +02:00 |
|
|
53dad61d41
|
lib/svgo/jsAPI: add eachAttr() optional context param
|
2012-11-17 20:38:37 +02:00 |
|
|
9d43b49541
|
lib/svgo/js2svg: use bind instead of self = this
|
2012-11-17 20:31:40 +02:00 |
|
|
e2f604d5d7
|
lib/svgo: fatal and stupid error in stream chunks concatenation (fix #40)
|
2012-11-15 18:34:21 +02:00 |
|
|
b083c8e2e7
|
lib/coa: batch folder optimization (close #29)
|
2012-11-10 19:53:42 +02:00 |
|
|
639eecf20b
|
lib/svgo: jsdoc corrections; update README
|
2012-11-09 19:04:07 +02:00 |
|
|
1b296adc7e
|
lib/svgo: global API refactoring (close #37); temporarily remove PhantomJS and --test (close #38)
|
2012-11-09 18:54:00 +02:00 |
|
|
172b7ea296
|
lib/svgo/svg2js: refactoring
|
2012-11-09 14:40:39 +02:00 |
|
|
3a8d048c68
|
lib/svgo/jsAPI: simplify exports
|
2012-11-09 14:38:13 +02:00 |
|
|
aa10a8b5de
|
lib/svgo/
|
2012-11-09 14:21:06 +02:00 |
|
|
299a5a1c92
|
lib/config: minor jsdoc correction
|
2012-11-08 17:05:15 +02:00 |
|
|
7e3e4a5b01
|
config.json -> config.yml (close #34)
|
2012-11-08 16:55:30 +02:00 |
|
|
c86ca24d10
|
q@0.8.10 compatibility: 'end is deprecated, use done instead'
|
2012-11-07 00:27:01 +02:00 |
|
|
660a695ee5
|
lib/coa: support arguments as aliases to --input and --output (close #28)
|
2012-10-30 00:18:54 +03:00 |
|
|
2d448f0d2e
|
lib/jsAPI: minor corrections
|
2012-10-29 01:48:06 +03:00 |
|
|
354925f896
|
minor jsdoc corrections
|
2012-10-28 00:32:41 +03:00 |
|
|
5444b4f234
|
allow any plugin of any type to go in any order (close #14)
|
2012-10-28 00:28:50 +03:00 |
|