grunt-svg2string
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "grunt-svg2string", | ||
"description": "Transforms a SVG file into a JavaScript string", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"homepage": "https://github.com/mistakster/grunt-svg2string", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -33,4 +33,4 @@ # grunt-svg2string | ||
// Target-specific file lists and/or options go here. | ||
}, | ||
}, | ||
} | ||
} | ||
}); | ||
@@ -135,9 +135,11 @@ ``` | ||
svg2string: { | ||
files: { | ||
'assets/_/js/elements.js': [ | ||
'assets/images/icon-set.svg', | ||
'assets/images/navigation.svg' | ||
], | ||
}, | ||
}, | ||
elements: { | ||
files: { | ||
'assets/_/js/elements.js': [ | ||
'assets/images/icon-set.svg', | ||
'assets/images/navigation.svg' | ||
] | ||
} | ||
} | ||
} | ||
}); | ||
@@ -172,13 +174,15 @@ ``` | ||
svg2string: { | ||
options: { | ||
template: '(App.SVG = App.SVG || {})["[%= filename %]"] = [%= content %];', | ||
wrapLines: false | ||
}, | ||
files: { | ||
'assets/_/js/elements.js': [ | ||
'assets/images/icon-set.svg', | ||
'assets/images/navigation.svg' | ||
], | ||
}, | ||
}, | ||
elements: { | ||
options: { | ||
template: '(App.SVG = App.SVG || {})["[%= filename %]"] = [%= content %];', | ||
wrapLines: false | ||
}, | ||
files: { | ||
'assets/_/js/elements.js': [ | ||
'assets/images/icon-set.svg', | ||
'assets/images/navigation.svg' | ||
] | ||
} | ||
} | ||
} | ||
}); | ||
@@ -199,2 +203,3 @@ ``` | ||
* 0.1.6 (04-Oct-2014): Fix samples in the documentation | ||
* 0.1.5 (24-Aug-2014): Fix wrong code | ||
@@ -201,0 +206,0 @@ * 0.1.4 (24-Aug-2014): Add option to convert set of SVG files into symbols. |
Sorry, the diff of this file is not supported yet
31185
207