From 2cbe4356e35319271f37e4202c03435518dfa699 Mon Sep 17 00:00:00 2001 From: Rob Dodson Date: Tue, 7 Jan 2014 07:56:15 -0800 Subject: [PATCH] Remove classPrefix --- README.md | 19 ------------------- tasks/svg-merge.js | 6 ++---- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 73a88a5..2b904b0 100644 --- a/README.md +++ b/README.md @@ -53,24 +53,5 @@ svgmerge: { } ``` -#### classPrefix - -Default: `iconic` -Type: `String` - -Prefix class names coming from svg files. Ex: `class="arrow-lg"` becomes `class="iconic-arrow-lg"`. - -```js -svgmerge: { - files: { - src: ['icons'], - dest: 'icons-out', - options: { - classPrefix: 'awesome' - } - } -} -``` - ## License Copyright (c) 2014 Rob Dodson. Licensed under the MIT license. diff --git a/tasks/svg-merge.js b/tasks/svg-merge.js index a75d20a..d654fb4 100644 --- a/tasks/svg-merge.js +++ b/tasks/svg-merge.js @@ -19,8 +19,7 @@ module.exports = function (grunt) { var done = this.async(); var dest = this.data.dest; var options = this.options({ - outputSuffix: '-out', - classPrefix: 'iconic' + outputSuffix: '-out' }); var promises = []; @@ -43,8 +42,7 @@ module.exports = function (grunt) { var opts = { inputDir: dir, outputDir: path.join(dest, name), - outputFile: outputFile, - classPrefix: options.classPrefix + outputFile: outputFile }; svgMerge(opts, deferred.resolve);