1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-29 20:21:14 +03:00

global refactoring dump

This commit is contained in:
deepsweet
2013-04-09 22:06:27 +03:00
parent f01c7f4b98
commit 2816424ed7
36 changed files with 932 additions and 981 deletions

View File

@ -1,5 +1,14 @@
'use strict';
exports.type = 'full';
exports.active = true;
exports.params = {
remove: true,
minify: true
};
var referencesProps = require('./_collections').referencesProps,
regReferencesUrl = /^url\(#(.+?)\)$/,
regReferencesHref = /^#(.+?)$/,
@ -19,7 +28,7 @@ var referencesProps = require('./_collections').referencesProps,
*
* @author Kir Belevich
*/
exports.cleanupIDs = function(data, params) {
exports.fn = function(data, params) {
var currentID,
currentIDstring,