cgross/grunt-dom-munger — pull request #16 by ProLoser (2014-02-11 10:54:16+00:00)
Title: Added support for arrays of configurations in each option

Now the following format is also supported:
```js
options: {
read: [{selector:'link',attribute:'href',writeto:'myCssRefs',isPath:true}],
remove: ['#removeMe'],
update: [{selector:'html',attribute:'appmode', value:'production'}],
prefix: [{selector:'link',attribute:'href',value:'project-name/'}],
suffix: [{selector:'html',attribute:'version',value:'.0.1'}],
append: [{selector:'body',html:'

Im being appended

'}],
prepend: [{selector:'body',html:'Im being prepended'}],
text: [{selector:'title',text:'My App'}]
}
```

I'm aware `remove` doesn't really need to be an array, but I figured devs are probably going to complain about it eventually (instead of using commas) so I added support for it too. I did not add array support to `callback` though.

This allows you to do things like reading multiple chunks to multiple data stores, as well as performing all other options in different ways without having to fire multiple task targets.